Repository navigation
fix(ci): reuse verified Bun for docs and boundary parity - #195154
vincentkoc wants to merge 1 commit into
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 prepares the existing verified Bun runtime for docs formatting and supplemental boundary checks. Example: CI selects check-docs with run_format_check=true and a verified Bun cache available.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes a focused, useful CI improvement, with no introduced correctness or security defect found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherGitHub Actions selects docs and boundary checks; the existing Bun setup action supplies a verified executable to their parity tooling. flowchart TD
A[Preflight selection] --> B[Docs formatting job]
A --> C[Boundary check job]
B --> D[Existing Bun setup action]
C --> D
D --> E[Verified release assets]
E --> F[Prepared executable]
F --> G[Existing parity tooling]
Technical reviewBest possible solution: Land the existing cache prerequisite before these conditional readers while preserving parity checks and independent docs validation. Do we have a high-confidence way to reproduce the issue? Source shows formatting clears CI for Bun resolution and stages independently without OPENCLAW_BUN_PATH; the supplied earlier CI run records failures in formatting and boundary checks. Is this the best way to solve the issue? Reusing the existing setup action is the smallest complete fix: it supplies the prepared runtime without duplicating verification, cache policy, or parity logic. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3a25991e37c4. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +33, Config +14, Other +2. Total +49 across 3 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:
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 November 8, 2026, 4:54 AM ET / 09:54 UTC. |
115c1d2 to
7baf6f0
Compare
Superseded
The complete reviewed docs/boundary patch is included in #195155, alongside the remaining lint consumers. Close this duplicate draft; follow that PR for qualification and landing.
What Problem This Solves
Docs formatting and supplemental boundary checks still stage pinned Bun through their local parity resolver without reading the shared verified runtime cache.
User Impact
These two consumers reuse the existing pinned Bun cache and prepared executable. Both engines and every check remain enabled; independent docs checks still run when Bun preparation fails.
Why This Change Was Made
Build on the landed cache and release-download recovery in #195139. Preparation runs only for selected formatting or the boundaries group, with the existing restore-only cache policy. No new job, publisher, or runner-size change.
Evidence
f89b123d7fee; the patch is identical to the previously reviewed115c1d22feae(stable patch ID67ec5915080b90c6578155445798feb8a12cbda7). Dependency inputs and the affected workflow sources on the base are unchanged.7baf6f0f0036, both focused workflow guards pass: 2 passed / 199 unselected, 1.47s Vitest / 2.53s wrapper. Failure propagation, independent docs checks, and nonconsumer exclusion remain covered.The previous 149.46s failed docs staging measurement predates the now-landed download recovery and is not a savings estimate for this change. Current parent CI successfully stages Bun for both consumers, but neither uses the shared asset-cache reader. Incremental warm-cache runtime and billing benefit must be verified; no dollar saving is claimed yet.