Commit 20774ca
committed
AzLocal.UpdateManagement v0.7.98: Step.7 monitor-updates UX overhaul + JUnit time= fix
## Step.7 monitor-updates UX overhaul
- Severity tiers + composite SeverityScore sort (StepError severity x 1000 + RunSeverity x 100 + elapsed-hours bucket). Stuck step errors and runs > 14 days bubble to the top of the job summary table.
- Per-cell icons (StateIcon, StatusIcon) + horizontal chip stack (STEP-STUCK, RUN-STUCK, UNRESOLVED, RECENT-FAIL) replace the previous single-status column.
- Fleet status badge collapses the worst row across the fleet into one CRITICAL / WARN / OK line.
- Collapsible Verbose Error block wraps each failed step errorMessage in <details><summary>...</summary>.
## JUnit time= populated (Step.7 + Step.8 Update Run History)
Previously every <testcase> and <testsuite> emitted time="0", which made GitHub Test Reporter / Azure DevOps Tests tab render "N tests were completed in 0ms". Now:
- Step.7: each in-flight / unresolved-failed row computes RunDurationSeconds = end - start (or current elapsed for in-flight) and emits it on both <testsuite time=...> (sum) and <testcase time=...> (per row).
- Step.8 "Update Run History and Error Details" testsuite: each <testcase> emits time = DurationMinutes * 60.
- Other Step.8 testsuites (FleetVersionDistribution, AzureLocalFleetUpdateStatus) stay at time="0" - those are instantaneous snapshot projections.
## Pipeline template version pin
All 20 bundled Step.{0..9}.yml templates (10 GH Actions + 10 ADO) bump GENERATED_AGAINST_MODULE_VERSION from 0.7.97 to 0.7.98.
## Validation
- Full Pester suite green: 824 passed, 0 failed, 1 skipped (2m42s).
- AST clean on all four edited Step.7/Step.8 ymls.
- Audit grep clean (3 false positives only: 1 comment + 2 synthetic test fixture lines referencing prior v0.7.95 pin-only feature).
## Files changed (28)
- AzLocal.UpdateManagement.psd1 (ModuleVersion + ReleaseNotes)
- AzLocal.UpdateManagement.psm1 ($script:ModuleVersion)
- CHANGELOG.md (prepend v0.7.98 entry)
- README.md (header + URL + TOC + What's New + demote v0.7.97 into Release History)
- Tests/AzLocal.UpdateManagement.Tests.ps1 (version assertion)
- docs/release-history.md (pointer + new entry)
- Automation-Pipeline-Examples/README.md + docs/appendix-pipelines.md (Step.7 + Step.8 callouts)
- 20 x Automation-Pipeline-Examples/{github-actions,azure-devops}/Step.*.yml (4 with body changes + 16 with pin-only bump)1 parent 3509b47 commit 20774ca
28 files changed
Lines changed: 492 additions & 105 deletions
File tree
- AzLocal.UpdateManagement
- Automation-Pipeline-Examples
- azure-devops
- docs
- github-actions
- Tests
- docs
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments