Skip to content

v0.8.3: Step.3 apply-updates schedule-coverage advisor accuracy fixes#72

Merged
NeilBird merged 2 commits into
mainfrom
users/nebird/development
Jun 9, 2026
Merged

v0.8.3: Step.3 apply-updates schedule-coverage advisor accuracy fixes#72
NeilBird merged 2 commits into
mainfrom
users/nebird/development

Conversation

@NeilBird

@NeilBird NeilBird commented Jun 9, 2026

Copy link
Copy Markdown
Owner

AzLocal.UpdateManagement v0.8.3 — Step.3 advisor accuracy fixes

Ships four defect fixes for the apply-updates schedule-coverage advisor (Step.3) and the underlying Test-AzLocalApplyUpdatesScheduleCoverage cmdlet.

Fixes

  1. Recommend view diff-prunes against -PipelineYamlPath
    When -PipelineYamlPath is supplied, Test-AzLocalApplyUpdatesScheduleCoverage -View Recommend now removes recommended crons that are already present (and valid) in the schedule-bearing yml. Previously operators copy-pasted steady-state crons back into the schedule, creating duplicates.

  2. Step.3 yml pipeline_path / pipelinePath is now REQUIRED
    GH input gets required: true. ADO parameters: blocks gain an explicit throw for empty string at the start of each script. Eliminates silent fall-through to schedule-only mode.

  3. Allow-list heading reframed + disclaimer
    Old (misleading): ### How to fix - edit \
    New: ### Optional - pin a ring to a specific update in \ plus This is NOT a fix for the cron-coverage or ring-diff sections above.

  4. Closing-fence typo
    \\\\\\ (6 backticks + n, four sites across GH+ADO Step.3 yml) → \\\\\\\ (7 backticks + n). Markdown code-fence terminator was eating the next paragraph in some renderers.

Other

  • All 20 Step.*.yml templates: GENERATED_AGAINST_MODULE_VERSION bumped to 0.8.3.
  • Module: ModuleVersion = '0.8.3' in psd1 + \ in psm1.
  • ReleaseNotes (PSData): v0.8.3 entry prepended; v0.8.2 trimmed to a one-line summary + CHANGELOG link so ReleaseNotes stays under PSGallery's 10000-char ceiling (current: 8316 chars).
  • README.md / docs/release-history.md / CHANGELOG.md: v0.8.3 documented; v0.8.2 demoted to Release History.

Tests

  • Drift guard bumped to 0.8.3.
  • Allow-list heading-shape test rewritten to assert the new heading + disclaimer and the absence of the old heading, parameterised across [GitHub, ADO].
  • New Context 'v0.8.3 - Recommend diff-prunes crons already present in -PipelineYamlPath' block: 3 It blocks covering (a) full prune when all recommended crons already present, (b) back-compat when -PipelineYamlPath omitted, (c) partial prune when only one of two recommended crons is already present.
  • Final Pester run: 829 passed, 0 failed, 1 skipped.

NeilBird added 2 commits June 9, 2026 20:19
- Recommend view (Test-AzLocalApplyUpdatesScheduleCoverage): when -PipelineYamlPath is supplied, diff-prune recommended crons against the schedule-bearing yml so operators no longer see steady-state crons re-emitted as 'add me' suggestions.
- Step.3 yml (GH + ADO): pipeline_path / pipelinePath input is now REQUIRED. Empty value throws at runtime instead of silently falling through to schedule-only mode.
- Step.3 Allow-list section heading reframed from misleading 'How to fix - edit $schedulePath' to 'Optional - pin a ring to a specific update in $schedulePath', with disclaimer that it is NOT a fix for cron-coverage or ring-diff sections above.
- Step.3 yml: closing-fence typo (6 backticks + n) corrected to 7 backticks + n at 4 sites across GH+ADO.
- All 20 Step.*.yml templates: GENERATED_AGAINST_MODULE_VERSION pinned to 0.8.3.
- Pester: drift test bumped, Allow-list heading-shape test rewritten, 3 new diff-prune Context tests added (829 passed, 0 failed, 1 skipped).
- README + docs/release-history.md + CHANGELOG.md + psd1 ReleaseNotes updated; v0.8.2 demoted to Release History; ReleaseNotes trimmed to 8316 chars (under PSGallery 10000 limit).
@NeilBird
NeilBird merged commit cd77db3 into main Jun 9, 2026
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