Skip to content

Configure artifact streaming before starting services - #9843

Open
Julius Liu (juliusl) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-artifact-streaming-issue
Open

Julius Liu (juliusl) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-artifact-streaming-issue

Conversation

Copilot AI commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Artifact streaming services started before mirror setup completed, allowing acr-mirror to miss settings such as the docker.io → registry-1.docker.io rewrite until node restart.

  • Startup ordering: Run setup.sh aks or legacy acr-config before starting acr-mirror and overlaybd services.
  • Failure handling: Abort with the existing artifact streaming installation error if setup fails; retain service-start retries.
  • Regression coverage: Assert setup-before-start ordering and failure behavior for both package paths.

Co-authored-by: juliusl <5741075+juliusl@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix artifact streaming race condition before setup runs Configure artifact streaming before starting services Oct 21, 2026

@juliusl Julius Liu (juliusl) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@juliusl
Julius Liu (juliusl) marked this pull request as ready for review October 21, 2026 01:55
@juliusl
Julius Liu (juliusl) requested review from a team as code owners October 21, 2026 01:55
Copilot AI balanced review requested due to automatic review settings October 21, 2026 01:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Static review found no blocking issues, and targeted regression assertions cover both package paths; tests were not executed.

No open issues 🎉

What changed in this PR

Fixes #9842 by configuring artifact streaming before starting services during Linux node provisioning.

Changes:

  • Runs modern or legacy setup before service startup.
  • Aborts on setup failure while preserving service-start retries.
  • Adds regression coverage for ordering and failure handling.
File Description
spec/​parts/​linux/​cloud-init/​artifacts/​cse_config_gpu_spec.sh Tests startup ordering and failure paths.
parts/​linux/​cloud-init/​artifacts/​cse_config.sh Moves setup before startup and checks setup failures.

Review effort: Balanced

@northtyphoon Bin Du (northtyphoon) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Artifact streaming starts before setup runs

4 participants