Skip to content

AzLocal.UpdateManagement v0.8.83: preserve raw ARM tags on inventory PassThru + wire attempts_without_run in GH Actions monitor-updates.yml#89

Merged
NeilBird merged 1 commit into
mainfrom
users/nebird/v0.8.83
Jun 15, 2026
Merged

AzLocal.UpdateManagement v0.8.83: preserve raw ARM tags on inventory PassThru + wire attempts_without_run in GH Actions monitor-updates.yml#89
NeilBird merged 1 commit into
mainfrom
users/nebird/v0.8.83

Conversation

@NeilBird

Copy link
Copy Markdown
Owner

Summary

Fix-forward for v0.8.82 Item-5. The Step.08 UpdateLastAttempt reconciliation in Export-AzLocalUpdateRunMonitorReport reads $inv.tags to render the "Recent update attempts with no observable updateRun" section. v0.8.82 silently lost the raw ARM tags bag in Get-AzLocalClusterInventory (only the projected/flattened columns were retained on the PassThru objects), so the section was always empty in production.

Changes

  • Public/Get-AzLocalClusterInventory.ps1: copy the raw properties.tags bag onto each PassThru row before the $selectColumns whitelist is applied. The whitelist still excludes tags from CSV/JSON exports, so on-disk artefacts are byte-identical.
  • Public/Export-AzLocalUpdateRunMonitorReport.ps1: docstring updated from "6 step outputs" to "7 step outputs", listing the attempts_without_run output that Step.08 already emits via Set-AzLocalPipelineOutput.
  • Automation-Pipeline-Examples/github-actions/monitor-updates.yml: wire attempts_without_run into the workflow's jobs.outputs: block so downstream jobs can fan out on it. ADO equivalent already auto-publishes via Set-AzLocalPipelineOutput.
  • Tests/AzLocal.UpdateManagement.Tests.ps1: add 2 regression tests under v0.8.83: Get-AzLocalClusterInventory preserves raw ARM tag bag on PassThru and bump the version assertion to 0.8.83.
  • All 22 pipeline YAMLs: bump GENERATED_AGAINST_MODULE_VERSION pin to '0.8.83'.
  • Version constants: ModuleVersion='0.8.83' in psd1 + $script:ModuleVersion='0.8.83' in psm1. ReleaseNotes prepended (length 9936 / 10000).
  • CHANGELOG, release-history, README: standard release-doc updates.

Test results

1244 passed, 0 failed, 1 skipped (148.4s) against the full Pester suite.

Fix-forward for v0.8.82 Item-5: the Step.08 `UpdateLastAttempt` reconciliation in `Export-AzLocalUpdateRunMonitorReport` reads `$inv.tags` to surface "Recent update attempts with no observable updateRun". v0.8.82 silently lost the raw ARM `tags` bag in `Get-AzLocalClusterInventory` (only the projected/flattened columns were retained on the PassThru objects), so the section was always empty in production.

Changes:
- `Get-AzLocalClusterInventory.ps1`: copy the raw `properties.tags` bag onto each PassThru row before the `$selectColumns` whitelist is applied. The whitelist still excludes `tags` from CSV/JSON exports, so on-disk artefacts are byte-identical.
- `Export-AzLocalUpdateRunMonitorReport.ps1`: docstring updated from "6 step outputs" to "7 step outputs", listing the `attempts_without_run` output that Step.08 already emits via `Set-AzLocalPipelineOutput`.
- `Automation-Pipeline-Examples/github-actions/monitor-updates.yml`: wire `attempts_without_run` into the workflow's `jobs.outputs:` block so downstream jobs can fan out on it. ADO equivalent already auto-publishes via `Set-AzLocalPipelineOutput`.
- `Tests/AzLocal.UpdateManagement.Tests.ps1`: add 2 regression tests under "v0.8.83: Get-AzLocalClusterInventory preserves raw ARM tag bag on PassThru".
- All 22 pipeline YAMLs: bump `GENERATED_AGAINST_MODULE_VERSION` pin to `'0.8.83'`.
- Version constants: `ModuleVersion='0.8.83'` in psd1 + `$script:ModuleVersion='0.8.83'` in psm1. ReleaseNotes prepended (length 9936/10000).
- CHANGELOG, release-history, README: standard release-doc updates.

Test results: 1244 passed, 0 failed, 1 skipped (148.4s).
@NeilBird
NeilBird merged commit 3437362 into main Jun 15, 2026
2 checks passed
@NeilBird
NeilBird deleted the users/nebird/v0.8.83 branch June 15, 2026 15:51
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.

1 participant