test(e2e): upgrade every patch in the previous four Agent minors #60479
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 276 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #60479"
general
weight: 0.35
hush-hush
What does this PR do?
Add direct Fleet upgrade coverage from every released patch and package revision in the four minor releases preceding the pipeline candidate. Each source/platform pair gets its own VM, installs the historical Agent and installer, checks the source version, then starts and promotes an experiment to the candidate.
Functional changes
| Before | After |
| --- | --- |
| The upgrade smoke test starts from the latest stable Agent | A separate CI matrix additionally upgrades every published patch in candidate minor minus 1, 2, 3, and 4 on the existing Fleet Linux/Windows platforms |
| Historical selection could panic on unprefixed versions or count patches as minors | Version selection normalizes comparisons, preserves exact versions, and anchors the exhaustive matrix to the candidate minor |
The eight jobs split by source minor and platform family, cap concurrent tests at four, and disable dynamic test skipping and early flake detection. Duplicate registry aliases and prereleases are excluded. A minor awaiting its first stable release is explicitly skipped; invalid/empty discovery and unavailable published artifacts fail.
Motivation
Exercise older customer installations directly against each candidate, including older patches that latest-patch-only coverage misses.
Describe how you validated your changes
Added unit coverage for exact minor selection, every patch/revision, alias deduplication, missing/invalid catalogs, exact installation pins, and option validation. The backend/agent unit tests, scoped Go lint, Fleet E2E compilation, Gazelle, and Buildifier checks pass. Local Codex review identified VM accumulation under the shared cleanup setting; this job now destroys each suite synchronously, and an independent review verified that fix.
Additional Notes
The existing latest-stable smoke test remains. For the current 7.87 candidate, the production catalog has 16 stable package versions across 7.83–7.85 and no stable 7.86 yet; the 7.86 shard will report an explicit skip until that release is published. All 16 corresponding Windows installer URLs were checked successfully. Full cloud execution and runtime measurements remain for CI.