Repository navigation
perf(ci): parallelize installer smoke validation - #127138
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 21, 2026, 3:07 PM ET / 19:07 UTC. ClawSweeper reviewWhat this changesThe PR splits installer smoke validation into sealed candidate-payload and image producers, then runs update and non-root consumers from verified artifacts in parallel. Merge readinessKeep open for normal maintainer review: the branch has a coherent artifact-isolation design and no concrete patch defect found, but it changes a release CI trust boundary and needs exact-head CI plus owner sign-off. Priority: P1 Review scores
Verification
How this fits togetherThe reusable installer workflow selects a source revision, packages it, and runs installation checks. This change separates candidate packaging from cache-capable consumer jobs and aggregates their results. flowchart LR
A[Selected revision] --> B[Candidate payload producer]
A --> C[Update image producer]
A --> D[Non-root image producer]
B --> E[Verified payload artifact]
C --> F[Verified update image]
D --> G[Verified non-root image]
E --> H[Installer consumers]
F --> H
G --> H
H --> I[Aggregate gate]
Decision needed
Why: This is a deliberate release-workflow trust boundary rather than a mechanical correctness choice. Before merge
Agent review detailsSecurityNone. PR surfaceTests +828, Config +636, Other +583. Total +2047 across 8 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase onto current main, preserve the sealed artifact flow, and merge after exact-head installer/CodeQL validation plus release-workflow owner approval. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a CI topology and trust-boundary change, not a user-reported runtime defect. Is this the best way to solve the issue? Yes: separating candidate packaging from consumer jobs and verifying the sealed artifact is a more maintainable solution than retaining candidate checkouts in cache-capable consumers. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 87d02a908976. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (9 earlier review cycles; latest 8 shown)
|
8794edd to
098dfd4
Compare
|
@clawsweeper re-review Exact head: Rebased after #127107. Update cache authority is |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Exact-head hosted installer proof passed.
The update and non-root producers both started at 12:57:45 UTC. The complete non-root lane finished at 13:09:36 UTC, before the root image finished at 13:10:40 UTC, so it no longer waits for root/update preparation. Logs confirm immutable SHA/run/attempt artifact binding, successful artifact verification/download/load, Recent successful scheduled |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
10ec369 to
ad551f6
Compare
b3c58c9 to
542ab81
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* fix(ci): parallelize installer smoke groups * fix(ci): bind installer smoke artifacts * fix(ci): isolate installer smoke candidate payload * fix(ci): restore trusted install harness * fix(ci): run Bun smoke from trusted harness
Related: #127107
What Problem This Solves
Release installer validation serialized independent update and non-root coverage behind shared image preparation, adding roughly 15 minutes to the release critical path and hiding sibling failures. The first parallel implementation also checked out and executed the selected candidate in cache-capable consumer jobs, which CodeQL correctly rejected as a cache-poisoning trust path.
Why This Change Was Made
The installer workflow now runs update and non-root producer-consumer pairs independently and retains one always-running aggregate gate.
Candidate handling is a separate parallel producer:
Both consumer jobs now use only the verified payload artifact and their verified image artifact. They do not check out candidate code, hydrate dependencies, restore dependency caches, or run candidate packaging on the host. Frozen installer mode mounts the verified scripts and reuses the sealed tarball/pack metadata without candidate build, source packaging, or TSX normalization.
User Impact
Release qualification captures update and non-root installer failures in one run, keeps the independent failure-draining DAG, and removes candidate execution from cache-capable consumer hosts.
Evidence
10ec369a6583f80e4a6c7d0e2440d9760c018ab9git diff --check, script erasability, dependency pins, package patches, and privacy scrub passed.check-changedpassed every guard before script typecheck. The typecheck could not run in this sparse GWT because unrelated trackedui/config/*files are absent; no dependency reconciliation or sparse-checkout mutation was performed.