Skip to content

fix: configure packages endpoints when repo depot is set - #9828

Merged
Nishchay (awesomenix) merged 1 commit into
mainfrom
nishp/pin/containerd
Oct 20, 2026
Merged

Nishchay (awesomenix) merged 1 commit into
mainfrom
nishp/pin/containerd

Conversation

@awesomenix

Copy link
Copy Markdown
Contributor

sometimes some crazy clouds dont want to opt into downloading root certs, configure repo depot endpont regardless if the endpoint is set

Copilot AI balanced review requested due to automatic review settings October 20, 2026 07:11
@awesomenix
Nishchay (awesomenix) requested review from a team as code owners October 20, 2026 07:11
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   18 suites   1m 2s ⏱️
560 tests 560 ✅ 0 💤 0 ❌
563 runs  563 ✅ 0 💤 0 ❌

Results for commit cabf37c.

♻️ This comment has been updated with latest results.

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.

🟡 Changes recommended

Repository initialization failures can now skip certificate-refresh scheduling while provisioning continues.

1 open issue
What changed in this PR

Configures Linux RepoDepot endpoints independently of certificate-refresh opt-in during node provisioning.

Changes:

  • Moves repository initialization before the certificate-scheduling guard.
  • Removes cloud-init completion waits.
  • Adds dispatch tests across distributions, endpoint settings, and failure paths.
File Description
spec/​parts/​linux/​cloud-init/​artifacts/​init_aks_cloud_spec.sh Tests repository dispatch and scheduling boundaries.
parts/​linux/​cloud-init/​artifacts/​init-aks-cloud.sh Decouples repository setup from certificate opt-in.

Review effort: Balanced

Comment thread parts/linux/cloud-init/artifacts/init-aks-cloud.sh Outdated
Copilot AI balanced review requested due to automatic review settings October 20, 2026 15:04
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
test 0% ❌
windows 27% ❌
staging_cse_windows Package 1 65% ➖
debug 0% ❌
provisioningscripts 2% ❌
parts_windows Package 1 73% ➖
Summary 38% (1645 / 6827) ❌

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
github.com/Azure/agentbaker/aks-node-controller 72% ➖
github.com/Azure/agentbaker/aks-node-controller/common 100% ✔
github.com/Azure/agentbaker/aks-node-controller/helpers 68% ➖
github.com/Azure/agentbaker/aks-node-controller/parser 88% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/gpu 100% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/nodeconfigutils 88% ✔
github.com/Azure/agentbaker/aks-node-controller/utils 0% ❌
github.com/Azure/agentbaker/apiserver 24% ❌
github.com/Azure/agentbaker/cmd 0% ❌
github.com/Azure/agentbaker/cmd/starter 0% ❌
github.com/Azure/agentbaker/fuzz/api 0% ❌
github.com/Azure/agentbaker/hotfix/render-nodecustomdata 0% ❌
github.com/Azure/agentbaker/pkg/agent 77% ➖
github.com/Azure/agentbaker/pkg/agent/datamodel 78% ➖
github.com/Azure/agentbaker/pkg/agent/toggles 0% ❌
github.com/Azure/agentbaker/pkg/vhdbuilder/datamodel 87% ✔
Summary 74% (5657 / 7592) ➖

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
shellspec spec 28% ❌
Summary 28% (4507 / 15921) ❌

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.

🟡 Changes recommended

Repository probe failures can prevent certificate-refresh registration while provisioning continues.

1 open issue
1 resolved since last review

Review effort: Balanced

ubuntuRel=$(lsb_release --release | awk '{print $2}')
ubuntuDist=$(lsb_release -c | awk '{print $2}')
init_ubuntu_main_repo_depot ${rootRepoDepotEndpoint}
init_ubuntu_pmc_repo_depot ${rootRepoDepotEndpoint}
@awesomenix
Nishchay (awesomenix) merged commit 5ffe51a into main Oct 20, 2026
38 checks passed
@awesomenix
Nishchay (awesomenix) deleted the nishp/pin/containerd branch October 20, 2026 18:06
Nishchay (awesomenix) added a commit that referenced this pull request Oct 20, 2026
Co-authored-by: aks-node-assistant[bot] <190555641+aks-node-assistant[bot]@users.noreply.github.com>
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.

3 participants