Repository navigation
fix(ci): provision Bun for retained-runtime process tests - #200731
Conversation
Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 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 changes before merge. What this changesThis PR provisions pinned Bun when Node CI shards select retained-runtime import process tests. Example: A Node shard selects src/infra/update-retained-runtime-imports.process.test.ts.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this PR addresses a real CI prerequisite omission, but its expanded infra selection breaks an existing packed-matrix test on the reviewed head. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherThe CI manifest converts selected test plans into workflow matrix rows; the workflow consumes requires_bun to provision the pinned runtime before executing each shard. flowchart LR
A[Test selection] --> B[CI manifest]
B --> C[Runtime prerequisites]
C --> D[Workflow matrix]
D --> E[Pinned Bun setup]
E --> F[Node shard and Bun child]
Technical reviewBest possible solution: Retain the existing prerequisite-owner extension and update the packed-row test to preserve true Bun prerequisites while still checking omission of false flags. Do we have a high-confidence way to reproduce the issue? Current-main source omits the retained-import Bun-child prerequisite, while the selected process test explicitly launches requirePinnedBun(); no target code was executed during this review. Is this the best way to solve the issue? Extending needsBunChild is the smallest complete production fix because the existing selection matcher and workflow setup already own this responsibility. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f2f1edd7e9f4. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceTests +21, Other +8. Total +29 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. 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 Reviewed November 17, 2026, 1:13 PM ET / 18:13 UTC. |
Co-authored-by: RomneyDa <[email protected]>
|
Merged via squash.
|
* fix(ci): provision Bun for retained-runtime process tests Co-authored-by: RomneyDa <[email protected]> * test(ci): expect Bun in grouped infra rows Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 7ba7033) Release adaptation: none. Exact qualification repair; original failure and focused proof retained in the release handoff. Companion audit: existing consumers and prerequisite contracts are present-equivalent; no interface changes. Broader broker authority repair 22d5c87 is not applicable to this fixture-only batch. Co-authored-by: RomneyDa <[email protected]>
…00731) * fix(ci): provision Bun for retained-runtime process tests Co-authored-by: RomneyDa <[email protected]> * test(ci): expect Bun in grouped infra rows Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]>
Adapt main fix #200731 to the release branch planner regression owner. Source: 7ba7033. Q owns the child CI harness; include Bun for retained-runtime exact, grouped, and infra-config rows. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
What Problem This Solves
Fixes Node CI shards failing with
spawnSync bun ENOENTwhen selected retained-runtime import tests launch a pinned Bun child.User Impact
No runtime behavior changes. CI provisions the runtime required by these existing process tests rather than failing before their Bun assertions execute.
Why This Change Was Made
Extend the existing shard prerequisite decision, which already handles Node-hosted standalone code generation, to include retained-runtime process tests. Exact targets, patterns, grouped selections, and config-only fallback use the same owner. Unrelated retained-runtime tests remain unaffected. No test exclusions, timeout changes, dependency changes, or guard weakening.
Evidence
requirePinnedBun()with ENOENT.git diff --checkpass with private frozen dependencies.Full planner suite and remote CI were not run locally; PR CI provides broader validation. Initial shared-dependency setup failures were superseded by the private-install passing proofs. Independent review was waived by the authorizing maintainer; required GitHub checks remain enforced.