Skip to content

revert: December ANC validation changes - #10266

Merged
Devinwong merged 2 commits into
official/v20261202from
devinwong-revert-december-anc-validation
Dec 5, 2026
Merged

Devinwong merged 2 commits into
official/v20261202from
devinwong-revert-december-anc-validation

Conversation

@Devinwong

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Reverts #10245 (commit 7c864d6425f4a2c2f20d08ffb0240cdec7d30add) to restore the prior ANC hotfix generator and node CustomData behavior, including the hotfix pointer and validation marker.

This changes source only; it does not remove previously published tags or packages.

Which issue(s) this PR fixes:

N/A

This reverts commit 7c864d6.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   21 suites   1m 18s ⏱️
811 tests 811 ✅ 0 💤 0 ❌
838 runs  838 ✅ 0 💤 0 ❌

Results for commit 9b29ffb.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
test 0% ❌
windows 27% ❌
parts_windows Package 1 74% ➖
staging_cse_windows Package 1 72% ➖
debug 0% ❌
provisioningscripts 2% ❌
Summary 40% (2073 / 7315) ❌

@Devinwong
Devinwong merged commit 4c5e25e into official/v20261202 Dec 5, 2026
22 of 35 checks passed
@Devinwong
Devinwong deleted the devinwong-revert-december-anc-validation branch December 5, 2026 01:28

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

The hotfix generator can discard existing delivery pointers, while cached VHDs can retain withdrawn ANC binaries that overwrite later script fixes.

4 open issues
What changed in this PR

Rolls back #10245’s December ANC validation changes in AgentBaker’s Linux hotfix and node-provisioning paths. Published tags and packages remain unchanged.

Changes:

  • Restore previous generator behavior and workflow defaults.
  • Remove the validation event, ACL override, and embedded script payloads.
  • Restore the embedding placeholder and set scripts_version to 202612.02.3.
File Description
parts/​linux/​cloud-init/​nodecustomdata.yml Removes the ACL-only provisioning override.
parts/​linux/​cloud-init/​artifacts/​cse_main.sh Removes the nodePrep validation event.
parts/​linux/​cloud-init/​artifacts/​aks-node-controller-hotfix.json Removes the ANC pointer; updates the script pointer.
hotfix/​hotfix_generate.py Restores prior pointer-writing and override-generation behavior.
hotfix/​hotfix_generate_test.py Removes pointer-preservation and ACL-gating tests.
aks-node-controller/​generated/​rendered_nodecustomdata_ubuntu.yml Deletes the embedded Ubuntu payload.
aks-node-controller/​generated/​rendered_nodecustomdata_mariner.yml Deletes the embedded Mariner payload.
aks-node-controller/​generated/​README Restores the go:embed placeholder.
.github/​workflows/​hotfix-generate.yml Returns to script-only hotfix pointers by default.

Review effort: Max

Comment thread hotfix/hotfix_generate.py
return

"""Write resolved hotfix pointers while retaining inherited pointers if idle."""
payload = {}
"202612.02": "202612.02.1"
},
"scripts_version": "202612.02.1"
"scripts_version": "202612.02.3"
"202612.02": "202612.02.1"
},
"scripts_version": "202612.02.1"
"scripts_version": "202612.02.3"
"202612.02": "202612.02.1"
},
"scripts_version": "202612.02.1"
"scripts_version": "202612.02.3"

This branch was successfully deployed

1 active deployment
test — 9b29ffb2 Deployed Dec 5, 2026 by aks-node-assistant[bot] via hotfix-generate #1151
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