Skip to content

Fix ALZ library sync assignment generation - #1464

Merged
Anthony Watherston (anwather) merged 6 commits into
mainfrom
anwather-alz-sync-fixes
Dec 3, 2026
Merged

Anthony Watherston (anwather) merged 6 commits into
mainfrom
anwather-alz-sync-fixes

Conversation

@anwather

@anwather Anthony Watherston (anwather) commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

ALZ library sync can generate invalid assignments, retain stale output, report success after errors, and remove caller-owned temporary directories. This fixes those issues while preserving existing library checkouts and other PAC environments.

  • Validate required Private DNS subscription and resource-group inputs; preserve the library zone name when the optional region is blank, correct the Australia Southeast Backup geo-code, and warn on unrecognized regions.
  • Skip additional roles with blank resource IDs, isolate assignment lookup state, and omit unset optional properties.
  • Track generated assignments by path, propagate sync failures, and clean up only uniquely owned temporary clones.

Sync output written before an error is not rolled back.

Validation

  • Reproduced all eight reports against ALZ Library platform/alz/2026.11.0 and verified the fixes.
  • Cloud Adoption Framework Pester suite: 122 passed; focused regression suite: 39 passed.
  • No Azure deployment performed.

Closes #1450
Closes #1452
Closes #1453
Closes #1454
Closes #1455
Closes #1456
Closes #1457
Closes #1458

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@anwather
Anthony Watherston (anwather) marked this pull request as ready for review November 21, 2026 01:05
@anwather
Anthony Watherston (anwather) marked this pull request as draft November 21, 2026 01:12
auto-merge was automatically disabled November 21, 2026 01:12

Pull request was converted to draft

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Approved

@gregslack78 gregslack78 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved

@anwather
Anthony Watherston (anwather) merged commit 2f5b0f6 into main Dec 3, 2026
4 checks passed
@anwather
Anthony Watherston (anwather) deleted the anwather-alz-sync-fixes branch December 3, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment