Repository navigation
fix(release): install Bun smoke from candidate payload - #128243
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs changes before merge. Reviewed August 23, 2026, 11:54 AM ET / 15:54 UTC. ClawSweeper reviewWhat this changesThe PR makes the Bun global-install release smoke verify and install the sealed candidate package payload instead of reconstructing a package from a Docker image and checkout inputs. Merge readinessKeep open: the prior P1 remains. The candidate-payload path is the right owner-boundary repair, but the branch leaves a broader workflow contract test asserting the removed image-provider job name and image environment, so its suite fails. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (partial) — step 2 Assertions:
How this fits togetherThe reusable install-smoke workflow produces a SHA-bound candidate package and passes it to downstream installation checks. The Bun job verifies the artifact tuple and payload contents before globally installing the exact candidate package. flowchart LR
A[Release candidate source] --> B[Sealed candidate payload]
B --> C[Artifact binding checks]
C --> D[Payload content verification]
D --> E[Bun global install smoke]
E --> F[Release validation result]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +35, Config +8. Total +43 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Retain the sealed candidate-payload design, update the stale broader contract assertions to its new job name and package-tarball environment, then rerun both focused workflow suites. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: test/scripts/test-install-sh-docker.test.ts still asserts two strings removed by the workflow change. The PR's supplied test command omits that suite, so it will fail until those assertions are updated. Is this the best way to solve the issue? Yes, with the test repair: consuming the already sealed candidate payload removes the mixed-tree packaging path while retaining artifact provenance checks before installation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fd4404d0b618. LabelsLabel justifications:
EvidenceAcceptance criteria:
What 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 (1 earlier review cycle)
|
|
Land-ready proof:
Known proof gaps: none. Internal release tooling only; no product changelog entry required. |
|
Merged via squash.
|
* fix(release): bind Bun smoke to candidate payload * test(release): align Bun payload workflow contract
What Problem This Solves
Fixes an issue where release validation's Bun global-install smoke repackaged a mixed candidate/tooling tree and rejected a valid prerelease Code SHA because the tooling checkout lacked the future release changelog section.
Why This Change Was Made
The Bun smoke now consumes the same sealed, SHA-bound candidate tarball already produced for install smoke. It validates the artifact producer tuple, manifest, source archive, candidate SHA, tooling SHA, and version before installing it. This removes the second packaging path and keeps strict changelog enforcement at the candidate package producer. AI-assisted.
User Impact
No runtime behavior changes. Release validation now tests Bun installation against the exact bytes selected for publication rather than a package reconstructed from mixed source and build identities.
Evidence
distwas combined with Tooling-SHApackage.jsonandCHANGELOG.md.node scripts/run-vitest.mjs test/scripts/install-smoke-no-push-workflow.test.ts test/scripts/install-smoke-candidate-payload.test.ts— 17 passed.pnpm check:workflows— passed.