Repository navigation
chore: update the shared Bun runtime to 42bd - #167092
Conversation
Include deferred VM bytecode generation, integral heap sampling sizes, and inspector snapshot cleanup while retaining the existing WebKit build. Runtime qualification and the exact Mac gate are required before publication.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed October 8, 2026, 5:35 AM ET / 09:35 UTC. ClawSweeper reviewWhat this changesUpdates the shared Bun runtime pin and CI documentation to release 42bd while retaining the existing WebKit build and platform targets. Review scores
ProductKind: Maintenance · Worth it: Yes Merge readiness✅ Ready for maintainer review Keep open: current main still uses fc53, and this qualified runtime update remains useful. No actionable correctness or security defect was found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherBun executes selected CI workloads and bundled app runtime flows. A shared release pin supplies the archives and checksums that the staging script verifies before installing executable bytes. flowchart TD
A[Shared runtime pin] --> C[Runtime staging]
B[Published Bun release] --> C
C --> D{Identity and checksums match?}
D -->|Yes| E[Verified runtime]
D -->|No| F[Reject payload]
E --> G[CI workloads and bundled apps]
Technical reviewBest possible solution: Continue using the existing shared, checksum-verified runtime owner to adopt the qualified release. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a qualified dependency update rather than a reported OpenClaw defect; no reviewer-side runtime reproduction was performed. Is this the best way to solve the issue? Yes: updating the existing shared pin preserves one runtime-selection owner and its integrity checks without introducing another installation path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 739182bca6b5. Provenance checked
TestingProof path: shipped entry point. Added test files: 0. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceDocs 0, Other 0. Total 0 across 2 files. View PR surface stats
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 |
|
Merged via squash.
|
Advance the shared Bun pin from fc53 to 42bd for deferred VM bytecode generation, integral heap-sampling sizes, and inspector snapshot cleanup (openclaw/bun#137, openclaw/bun#140, openclaw/bun#141). Keep WebKit cb8d6f202b and update the four verified Darwin/Linux artifact pins and CI documentation. Gate A passed: 35 paired selections, 270 targeted cells, no candidate regressions, ten Node-hidden smoke steps with zero Node attempts, and supplemental JSC checks. Both Darwin architecture gates passed. Preserve the baseline-only UI palette intermittent in openclaw#167000; openclaw#166780 is not claimed fixed. No new admissions qualified. Pin staging tests, changed checks, independent P2 review, exact-head CI, and ClawSweeper passed without a CI rerun.
What Problem This Solves
Updates the shared Bun runtime from fc53 to 42bd so CI and runtime consumers receive deferred VM bytecode generation, integral heap-sampling byte sizes, and inspector snapshot cleanup.
User Impact
Bun consumers receive the fixes in openclaw/bun#137, openclaw/bun#140, and openclaw/bun#141. WebKit remains at
cb8d6f202b; the existing worker heap-cap, module-resolution, test-deadline, GC, and idle-worker fixes are retained. This updates the four existing Darwin/Linux artifacts and their checksums.Why This Change Was Made
The shared pin and CI documentation now select
openclaw-v1.4.3-20261008-42bd1d282a-webkit-cb8d6f202b. All eight baseline/candidate archives and executable hashes were independently verified, along with release ancestry and the successful release workflow.Evidence
Gate A passed. The targeted matrix contains 18 complete files, five runs on each of Node 24, fc53, and 42bd: 270 independently verified cells. Both Bun versions recorded 1,355 passes, zero failures, and zero skips; Node recorded 1,350 passes, zero failures, and five skips of the source-guarded Bun-native plugin test. No candidate regression was found, and no newly passing consumer qualified for admission. An interrupted hosting workflow required only its unfinished whole-file unit to restart; 120 completed cells were retained, six partial-file observations remain historical, and the replacement 15 plus the remaining 135 form the exact 270-cell selection. No failing test was rerun to green.
Linux qualification uses source
642ac2f20958ec2ba7131cd2eb15485870399e99. A fresh lane census produced 28 canonical admitted lanes and seven JSC slices. All 35 baseline/candidate pairs are integrity-verified, with zero candidate-only failures or regressions. The full candidate UI run passed 22,719 assertions with six existing skips across 1,635 files; baseline passed 22,718 with one failure and six skips. The baseline-onlyWeb Awesome theme inheritance > keeps the account menu and shared control shadow parts on the selected paletteclear-button color failure is retained and tracked in #167000 under the known-intermittent policy. It was not rerun. No candidate-only failure triggered the 20-run classification protocol, and no equal-rate race or fix is claimed. The separately knownCopied!intermittent #166780 passed in both arms; no fix is claimed.The Node-hidden smoke passed all ten steps in 45.24 seconds with zero Node attempts. All 24 supplemental JSC commands passed; fixture differences are limited to published dependency commit metadata. The three additional redaction diagnostic cells each passed 13 assertions with no skips. Code Mode coverage is part of the targeted matrix.
Mac qualification passed on Darwin arm64 and x64 at source
34b093e3db1fc8b6acbadd475d5bb96d327eb089: 70 files per runtime and architecture, 1,311 passes and eight existing skips in each arm. Gateway startup, memory-cap checks, and reversed-order confirmation passed without a candidate regression.For this pin patch,
test/scripts/stage-openclaw-bun.test.ts --maxWorkers=1passed 11 tests on Node 24 (5.335 seconds) and current-pin Bun fc53 (3.683 seconds). Changed-file checks passed in 400.128 seconds, all four candidate stager targets verified, andgit diff --checkpassed. Independent P2 review is scoped-clean. Exact-head CI and a completed ClawSweeper review gate the native landing workflow.