Repository navigation
fix(ci): restore updater runtime contract coverage - #189226
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR updates existing updater tests to expect retained service runtimes, discovery-only recovery, sealed-service refusal, and expanded diagnostics. Example: A writable service uses Node 24.20.0 while the requested package requires Node >=26.12.1 and no compatible replacement is found.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored PR open: the fixture corrections match the current runtime contract, with no actionable defect found; it remains draft pending validation. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherUpdater tests pass package metadata and native-service observations through updateCommand, then inspect runtime selection, refusal diagnostics, package contents, and lifecycle effects. flowchart TD
A[Updater fixtures] --> B[Update command]
B --> C[Runtime preflight owner]
C --> D[Guarded runtime discovery]
C --> E[Selection or refusal]
E --> F[Package and service assertions]
Technical reviewBest possible solution: Retain the focused fixture corrections and complete their existing validation before taking the PR out of draft. Do we have a high-confidence way to reproduce the issue? Current source explains the stale assertions, and the body reports matching baseline failures; this read-only review ran no tests and does not independently confirm those executions. Is this the best way to solve the issue? The smallest complete repair is to align the existing fixtures with the production owner while retaining refusal and mutation safeguards, which this diff does. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 187b16c78550. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +21, Other +2. Total +23 across 5 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 31, 2026, 4:59 AM ET / 08:59 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
Updater regression jobs on main fail because their fixtures still expect behavior superseded by the managed-runtime admission owner. Failing scheduled main run.
User Impact
No production behavior changes. This maintainer repair restores coverage of the current updater contract without weakening package-mutation or service-stop safeguards.
Why This Change Was Made
Expect the retained compatible service Node, explicitly seal the refusal fixture, permit exactly one discovery-only recovery call for a writable service, and include the runtime owner's additional diagnostics. Sealed services still prohibit recovery and all preflight refusals still prohibit installation and service stops. The existing cases add 21 net test lines, covered by a dedicated allocation; no cases or timers are added.
Evidence
The changed-1, changed-2, and boundary jobs total697 job-seconds including setup and cleanup. The adjacent engine-preflight suite has no attributable per-file CI timing in these logs; its local13-case result is recorded above. These existing entry-point integration contracts account for the runtime; no cases or timers were added.