Commit a2b5e2f
authored
AzLocal.UpdateManagement v0.8.78: pipeline-summary UX polish (JUnit reclassification, Up-to-Date surfacing, download-artifact@v7) (#84)
* AzLocal.UpdateManagement v0.8.78: pipeline-summary UX polish
Three improvements driven by operator feedback on Step.07:
1. JUnit reclassification - ScheduleBlocked / SideloadedBlocked /
ExcludedByTag are designed gate-respect outcomes, not failures.
Export-ResultsToJUnitXml now renders them as <skipped> instead of
<failure>, so dorny/test-reporter no longer flips Step.07 RED on
otherwise-successful schedule-aware / sideload-gated / tag-excluded
runs. HealthCheckBlocked stays a failure (real operational issue).
2. Apply Updates summary shows the FULL ring picture - new optional
-UpToDateCount / -NotReadyCount parameters on
Add-AzLocalApplyUpdatesStepSummary add 'Already Up to Date' and
'Not Ready (needs attention before updating)' rows to the Readiness
KPI table. Both apply-updates YAMLs (GHA + ADO) wire the upstream
readiness.UpToDateCount / readiness.NotReadyCount outputs (emitted
since v0.8.74) through to the summary task.
3. actions/download-artifact@v6 -> @v7 in GHA apply-updates.yml.
Silences Node.js 20 deprecation warning. v7 deliberately chosen
over v8 (v8 has breaking digest-mismatch=error default).
Readiness gate verified ROBUST against operator question 'do we show
Ready clusters that have a previously-failed in-progress run?' - the
answer is no. Get-AzLocalClusterUpdateReadiness and
Start-AzLocalClusterUpdate (Step 3) both predicate Ready on
updateSummary.properties.state -in @('UpdateAvailable','Ready',
'ReadyToInstall'). NeedsAttention / UpdateInProgress / UpdateFailed /
PreparationFailed clusters correctly land in Not-Ready (no code
change needed).
Tests:
- Updated 'JUnit XML export handles ScheduleBlocked' /
'SideloadedBlocked' to assert <skipped> not <failure> + matching
summary attrs (failures=0, skipped=1).
- New 'Export-ResultsToJUnitXml renders ExcludedByTag as <skipped>'
regression.
- New 'Has v0.8.78 optional readiness-breakdown parameters
UpToDateCount/NotReadyCount' on Add-AzLocalApplyUpdatesStepSummary.
No public API change or new exports (still 60). All bundled pipeline
templates bump GENERATED_AGAINST_MODULE_VERSION '0.8.77' -> '0.8.78'.
* v0.8.78: bump module-version assertion 0.8.77 -> 0.8.78 + test-timings
* v0.8.78: in-package doc refresh (Pipeline-Examples README + appendix-pipelines)1 parent e6e2363 commit a2b5e2f
33 files changed
Lines changed: 268 additions & 67 deletions
File tree
- AzLocal.UpdateManagement
- Automation-Pipeline-Examples
- azure-devops
- docs
- github-actions
- Private
- Public
- Tests
- docs
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
| |||
486 | 494 | | |
487 | 495 | | |
488 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
489 | 502 | | |
490 | 503 | | |
491 | 504 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments