Repository navigation
improve(ci): isolate installed recovery checks - #187568
Conversation
Run each installed recovery cut as a finite scheduler cell and publish package-bound receipts after its host process group joins. Preserve the landed timeout, deferred-schema witness, and installed-inventory owners.
|
🦞👀 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 schedules seven installed-package recovery cuts independently and publishes sanitized diagnostics after producer cleanup. Example: The partial-previous recovery cell times out.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR supplies recovery scheduling that main still lacks, with no actionable introduced defect found; the author’s recorded qualification hold remains. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Docker E2E harness accepts a selected package and lane names, runs isolated recovery containers, and produces release-validation results and sanitized artifacts. flowchart LR
A[Package command] --> B[Lane planner]
B --> C[Docker scheduler]
C --> D[Recovery container]
D --> E[Private evidence]
C --> F[Producer settlement]
F --> G[Host diagnostics publisher]
E --> G
Technical reviewBest possible solution: Land the cohesive scheduler integration after the recorded qualification hold clears, retaining the existing recovery, cleanup, and redaction owners. Do we have a high-confidence way to reproduce the issue? Source comparison confirms that main lacks the seven scheduler cells and surviving publication owner; the added regression also targets the old consumer’s suppressed failure annotation, but no target code was executed during this review. Is this the best way to solve the issue? The change appropriately extends the existing scheduler and publisher, preserves ordinary wrapper behavior, and keeps producer settlement inseparable from reading candidate-written evidence. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3d4fc9403048. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +946, Config +1, Other +592. Total +1539 across 32 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
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 HistoryReview history (1 earlier review cycle)
Reviewed October 31, 2026, 7:00 AM ET / 11:00 UTC (Revision 2). |
Baseline-Refresh: 69476d9cbf42e5723e1f6b631667f42f196a20be
Baseline-Refresh: bd304fa3f94d418e57bb224fceb6ec0d97ef5a87
Baseline-Refresh: 5ed12c0a1297e07457c3e908f009a801e6d0377f
Baseline-Refresh: deb21099d5d8b76b01f3f98f423fd8d2a6ac409c
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* test(ci): schedule isolated installed recovery cells Run each installed recovery cut as a finite scheduler cell and publish package-bound receipts after its host process group joins. Preserve the landed timeout, deferred-schema witness, and installed-inventory owners. * fix(ci): settle recovery producers before publication * fix(ci): retain scheduler ownership through package entry * fix(ci): bind recovery publication to scheduler custody * fix(ci): retain published recovery failure annotations
What Problem This Solves
Installed-package recovery checks need independent scheduler cells and reliable producer cleanup so an interrupted cut cannot erase the remaining checks or publish evidence while its producer is still running. Successfully publishing a failed lane's diagnostics must also preserve its phase and exit annotation.
User Impact
Release maintainers can select
package-installed-recoveryto schedule seven recovery cuts independently and receive bounded, sanitized diagnostics. Ordinary recovery lanes keep their existing publication behavior. Installed product runtime and state formats are unchanged.Why This Change Was Made
This is the scheduler half split from #177381. It preserves the separate Doctor compatibility work in #186506 and the landed monotonic-clock fixture repair.
Each cell binds one verified package to a private attempt. Publication and offline evidence reads require joined process/log ownership and exact-ID Docker container settlement. Scheduler-owned launchers preserve configured timeouts; both package aliases enter that owner directly. The wrapper delegates publication only when the scheduler supplied retained CID custody. The host consumes validated private failure metadata independently of the publisher's own exit status.
Against frozen successor baseline
e8dade03, candidate6adb2448changes 32 paths: harness +687/−98, tests +994/−48, metadata +6/−2, installed product runtime 0.Evidence
9bc73760: 312 tests across seven files, no skips, plus formatting, lint, type graphs, Bash syntax and the ratchet. Native outcome was succeeded, exit 0, with the owned testbox stopped. This predates the metadata-consumer correction.6adb2448, each with one attempt, no timeout, successful publication and joined process/cleanup ownership. Native receipts confirm preserved package/config/launchers, healthy follow-up updates, and shared/outsider access checks. Selected source and workflow source both match the published commit. This targeted workflow does not run full Package Acceptance or the footprint gate.6adb2448; the CodeQL workflow, Security Review and OpenGrep also passed. A separate CodeQL aggregate check is neutral because 18 main-branch configurations are absent on this PR.6adb2448, with no findings, no remaining Before-merge requests and no Rank-up moves.6adb2448sixteen-assignment review is scoped-clean: all 16 assessments complete, zero findings. It covers all 32 changed paths with whole owner/caller/callee contracts. Source, manifests and authentication defaults remained unchanged; all owned review processes settled.ada1731, but its package aggregate failed at 47,608 installed entries against the 47,500 cap. That separate Doctor/package gate remains failed and unwaived; this targeted scheduler workflow does not run the footprint gate.73a7run 40916281223 failed TypeSafe transport and native-hook pressure tests. Those causes remain unproved; no inherited-failure exception, threshold increase or timeout relaxation is claimed.Merged as
02b93967after native squash admission. Exact-head source review, required CI, Periphery, Claw review and scoped Docker/package/access proof all qualified; no inherited-failure or admin waiver was used.