Repository navigation
chore(runtime): update pinned Bun fork to 9debcc4b9 - #199959
Draft
vincentkoc wants to merge 6 commits into
Draft
vincentkoc wants to merge 6 commits into
vincentkoc wants to merge 6 commits into
Conversation
Contributor
|
🦞👀 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. |
Contributor
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
This was referenced Nov 16, 2026
(cherry picked from commit 3baa364)
This was referenced Nov 19, 2026
This was referenced Nov 19, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qualification update (2026-11-29)
The full Node/Bun run on
96dc22a3finished with 139 jobs passing, 13 failing and 13 skipped. The failures include two Chromium jobs, ten compact shards and the aggregate gate. The pin remains draft.The November 19 Node failure on the previous pin head,
bf665f2d, hit the SIGTERM-ignoring worker case. Doctor returned a cleanup error where the caller expected an abort. The Doctor implementation, process test and cleanup-result helper were byte-identical on that head, its integrated main parent8db39f34, the current pin head and maina012e91c. The main-branch stress test reproduced the same failure mode. The repair on main waits for final cleanup and passed the mixed cancellation stress run, including 100 forced early cancellations. The published pin head still carries the earlier Doctor implementation. Its other Doctor continuation and worker failures require separate qualification.Integration update (2026-11-19)
Current candidate:
96dc22a3080d0538556e4c934233dbde6648955b. This signed, two-parent merge preserves prior pin headbf665f2db8cbfed047cd084d9ee4ed333653549band integrates main59bc2068530eda00138a202bac129a7335d8de57, including all nine landed qualification repairs (PRs #201713, #201717, #201720, #201724, #201725, #201730, #201736, #201744 and #201749). The earlier callback-lifetime repair in #201685 remains included. Relative to the integrated main, the PR still changes only the canonical Bun pin and two documentation references (+19/-19); all three files match the previous candidate byte-for-byte. Independent integration review verified staged treeddaf8844940dbfa5469a19c53a0acc958739bde8, exact repair ancestry, no conflicts and no extra worktree changes. Normal commit hooks and whitespace checks pass. This PR remains draft and unqualified.Full Node/Bun validation completed against prior candidate
bf665f2db8cbfed047cd084d9ee4ed333653549bwithvalidation_tier=main,test_runtime_policy=dual-all, no release gate and no PR-selection input. Its 21 test-job failures plus the failed aggregate gate are recorded below; 130 jobs passed and 13 skipped. Fresh full Node/Bun validation is running at new candidate96dc22a3080d0538556e4c934233dbde6648955b, withvalidation_tier=main,test_runtime_policy=dual-all, no PR-selection input and no release gate. It tests the nine integrated qualification repairs together with main's Gateway shutdown cleanup and SQLite initialization changes. Earlier failures remain unresolved until that exact-head evidence completes. Diagnostic probes below intentionally retain their frozen prior source.Current full-run findings
Latest inspection of run 44498303546 has eight failed Bun shards and the two previously recorded Node/Chromium UI failures, with three jobs still running. The Bun failures cover Doctor continuation/readonly-worker timeouts, reclaimed worker placement, pending-result admission, transcript commit recovery, cancelled-tree signal diagnostics, resident Gateway restart handling, placement-reclaim cancellation, and update custody after timeout. These are observed failures on the existing pin, not resolved cases or proof of a common cause. The job names contain
node-compact, but their failing inner invocations explicitly identify the Bun runtime. The first Doctor job is 135471789665.The upstream integration is now in draft Bun #222 and WebKit #56, with both commit histories preserved. Matched source-pair qualification is running; none of these OpenClaw failures is claimed fixed by that unqualified pair.
The completed snapshot-phase probe, controller
33bd941ef28e29d4cdbaf3e5f72b509c09f973fd, reproduces both continuation cases on frozen sourcebf665f2db8cbfed047cd084d9ee4ed333653549b. Cached-true completes its first maintenance snapshot, then stalls in cycle 1 atsnapshot-prepare, routeawaited-worker, phasestaging-create; teardown and restoration complete. Cached-false stalls in cycle 0 before snapshot entry, with teardown atclose-asyncand restoration not started at capture. The group also times out in the readonly-worker IPC-observation case: 2 files failed, 53 passed, 1 skipped; 3 tests failed, 545 passed, 5 skipped. Thestaging-createmarker brackets a worker request whose budget preflight can await filesystem stats before IPC and before its request timeout is armed; it does not isolate directory creation, copying, or Promise starvation. The next discriminating boundary is budget wait versus request dispatch versus reply settlement. Artifact14516114510ZIP SHA-256d10ed25c4c751097efc6476366e01df2f414e730d26a9b7248130a6a11d74b29; report SHA-256679562bb4966b7459f374024ca8d3483804df3729b34934ca4efcbaefd568df2. This diagnostic does not qualify the pin.The completed Doctor acquisition probe, controller
0e8dc90f619c93756a6fd13e990e2cc9adfaec2e, failed only the cached-writer case at 120 seconds; cached-false passed. Its failure snapshot isgateway-released, cycle 0: both recorded direct lease queries and their cleanup completed, while the test had not reached its mutation callback. Teardown and mock/environment restoration completed. The exact 56-file group reports 54 files passed, one failed, one skipped; 547 tests passed, one failed, five skipped. Native invocation and settlement completed; source and pin restored cleanly. This occurrence does not establish a lease deadlock or engine cause. Text artifact14514212325(38885 bytes), SHA-2569660aa76f6b6b330adb474b0d72f55f041e20837b82df9d1d7fdd52c50c35acb; native log SHA-256e0546fb46ce258912a693bf70a793b7715b435f4d34a3fe18002df7448780e12.The next repair-admission probe, controller
42fedc9afff66d6948d8454072e04c908562cccb, retains the same frozen source, pin and 56-file group. It distinguishes legacy-lock inspection, maintenance reacquisition, agent-lease reads and exceptional schema preflight using per-case synchronous phase markers. No added waits, retries or success-path logs; 42 controller checks and independent review pass. It completed: both continuation cases passed and emitted no failure frame. The warm readonly-worker IPC-listener case separately timed out at 120012 ms; the 56-file group finished with 547 passes, one failure and five skips. All native work settled, with clean source/pin restoration. This did not reproduce or resolve the original continuation failure. Artifact14514558457, SHA-2566857cc898d909b4b9948f9512977ef728f626b2a16a56c4ffb04af4b44aeb00b; native log SHA-256aae646c615ccd1cafb5f13620b2bd9d8a92a351f59f52c69dc010638d5a695bc.The warm-worker phase probe, controller
023355a26c84519e1e75defa354f955b3611c820, retains the same 56-file Doctor invocation and all prior continuation diagnostics. It adds one test-only, failure-only record for the separately timed-out readonly-worker case. Primary operation, reader close, child cleanup and fixture teardown are recorded independently; the test keeps its assertions, awaits, listeners and timeouts. All six source projections are hash-verified; 52 controller tests and independent review pass. It completed with the cached-writer continuation timing out at 120021 ms, cached-false passing at 5286 ms, and the warm-worker case passing at 745 ms. The last observed continuation phase ismaintenance-resources-acquire, cycle 0: the non-schema lease check completed, while the schema-maintenance lease check was atsnapshot-preparewith cleanup not started. Fixture teardown and environment/mock restoration completed; native work settled and the source/pin restored cleanly. This narrows the awaited boundary without identifying the blocked inner operation. The group reports 547 passes, one failure and five skips. Text artifact14515717643, SHA-256d9cdc820780815c4572871f8e30695117e912218649b0a9248dd0bd5cde4ffab; native log (281335 bytes), SHA-256c1500fdfd6f19843de9840a0101e157754be2193913b7d5d48a045a1f0e673c4.The snapshot-boundary probe, controller
33bd941ef28e29d4cdbaf3e5f72b509c09f973fd, extends that same Doctor invocation with bounded route, preparation and internal-cleanup phases. This distinguishes reusable-lease selection, waiting for a single-flight result, staging allocation, raw copy, and cleanup. It changes no waits, Promise handlers, authority checks or timeouts; 54 controller tests and independent review pass. All seven projected source hashes are verified. Aflight-waitobservation alone cannot distinguish an already-joined flight from a producer not yet entered. The probe is pending and is not qualification evidence.The Beam failure-location probe, controller
6c3f44695d4349200000a928110e67759217758d, is pending. It retains the original 80-file group, outer/group worker limits and both Node and Bun. Only the generic failed continuation path emits bounded error classes and repository-relative stack locations; no messages or private paths. The original RPC response is unchanged. Forty-eight controller tests and two independent reviews pass. This is diagnostic evidence, not pin qualification.The full run completed with 130 successful jobs, 21 failing test jobs plus the failed aggregate gate, and 13 skipped jobs. The last running shard (
checks-node-compact-large-3) passed. These are recorded failures, not a qualification waiver:Worker build recovery: the Node reconnect/claim-settlement case fails with a prepared-model-runtime publication timeout; its Bun execution passes. This reaches the same publication owner and broad workspace-plugins phase as the earlier worker-turn-context failure, but a shared root cause is not established. The current phase includes metadata resolution, registry preparation and subsequent input preparation. Log SHA-256:
a0583f02129b68bdee300b808f12724a294412232f3e7f55c1db2e5b1922b488.Config RPC, invited receipts and Beam: Node times out in two config-RPC cases, including one teardown restoration. The invited-receipt assertion fails under both runtimes because it expects an already-admitted read to be revoked; the documented admission contract lets it finish and denies the next request. A test-only correction preserves artifact-byte denial and fresh-request refusal; hosted Node/Bun proof passes the real product case under both runtimes. PR fix(test): retain admitted GitHub receipts after membership changes #201749 merged as
703cd16725348658db97188cba3f03b5acf13baa; the new candidate integrates this merge. Two Bun Beam adoption cases report the generic load failure; its underlying cause is not yet established. Log SHA-256:7ff6f70a828de819976abe095ab0eec37b405f16fe93c4e50975e19d4ac0da7a.Early final, retained send and profile-role preparation: Node alone times out in early-final reconciliation while Bun passes. Retained-send product proof times out under both outer runtimes, each waiting on an owned Node child; no inner allowed/revoked verdict is established. Both runtimes also reject a profile-role test assertion because admitted profile preparation resolves after a role-config change, consistent with captured-request policy; The focused test repair requires admitted profile work to finish and a fresh call to be rejected; dual-runtime proof now passes: cross-device Stop and all four profile-preparation cases pass under Node and Bun. The repair merged as
fd933a39c52813ae77bd3bec9be10b597f5f613f. All eight native invocations completed. No shared cause is established. Log SHA-256:4547bd1697da375bdf4e908e0016a093195ba7b846cbf08ebbfd755db3b38353.Recovery authority tests: the same four stale expectations fail under Node and Bun. The focused test-only repair preserves admitted work while verifying fresh starts are rejected; its first CI attempt exposed an introduced same-session claim deadlock. Head
37d9dabead4abrepairs that setup through the existing preparing-source path; fresh review passed, and exact-head CI passes all 18 cancellation and two member-role cases under Bun. It merged asf165544e2ce40e46682bd67b6a98777f506dafec; repaired-head Node coverage remains pending.WebKit dependency setup timed out in jobs 2/10 and 9/10, before tests. The same setup boundary failed on scheduled main.
Plugins UI roster loading: the exact test and initial-roster timeout also fail on an earlier main run.
Transcript reader stability: a transient 22 px anchor shift fails the two-history-refresh case. The exact case passes on scheduled main, so no inherited-failure attribution is established. The later distance-from-end change reflects added content, not another reader scroll.
Hosted Doctor process cancellation: Node expects an abort but receives an unconfirmed-process-cleanup error; the same Bun group passes. This is separate from the earlier cached-writer continuation timeout; attribution is pending.
Cron history cleanup: Node and Bun both finish the admitted deletion, contradicting the old mid-request revocation expectation. A separate test-only repair requires completed archival and verifies a downgraded operator cannot remove a different live job through a fresh request; it merged as
89e63e0cdf96313f2b08af67bf85c1ac29647851after exact-head Bun CI passed both cases. Repaired-head Node coverage remains pending.Gateway startup projection: Node times out connecting in the configured-UI case; the corresponding Bun group passes. Attribution is unresolved.
Resident update restart: Node passes the corresponding group; Bun fails both before/after-resident-answer cases at the receipt guard after the simulated service-stop acknowledgement. The returned ledger record does not satisfy that guard; actual process-stop failure is not established. The failure-only returned-step replay, controller
b7829ca27723f0f847490cc07fe733af1250cc77, passed all 850 tests with seven skips across the exact 64-file Bun group (63 files passed, one skipped). Both resident cases passed, so no failed-outcome step record was emitted. The old parser rejected bar-delimited project names and left the original report INCONCLUSIVE; parser repair3bfeddfea1c048d4322cd5239efcbeda065f1649recovered both passing case records from the unchanged artifact, SHA-2560c0b2f4ba637790a17dec200cbb3a84ad3015a31a1b874da72d9fea9502c6d2d; native log SHA-256e0898b6f4d64d81955f570d61ea5ff78c02c3d5b2e2e4a9694720efba1c481f8. Native execution settled and source/pin restored cleanly. The projection adds no database read or await, but earlier groups and passing Node runs were omitted and caches were cold. The original failure remains unresolved; this pass cannot qualify the pin or establish a process-leak/engine cause.Doctor continuation: both cached-writer cases pass Node and time out under Bun; the false case also times out in teardown. Both begin with an open writer, and the false case closes it only after Gateway release. The timeout alone does not identify the stalled phase or establish the same earlier cached-only failure. The failure-only replay, controller
2b15fc2fe88f29d9894941043a721667f495dcb0, completed the exact 56-file Bun group: 53 files passed, two failed and one skipped; 545 tests passed, three failed and five skipped. The cached-true case timed out at its second maintenance acquisition (cycle 1), with teardown waiting in async database close; cached-false then failed while creating its fixture with read admission closed. The warm readonly-worker case separately timed out. This is phase evidence, not proof of an engine or writer cause. The original report is INCONCLUSIVE because its parser mistook a Vitest source excerpt for telemetry and did not accept bar-delimited project names. Parser-only repair3bfeddfea1c048d4322cd5239efcbeda065f1649passed 39 checks and recovered both failure records from the unchanged artifact, SHA-256c263391cee64838564c75993f1215956dd2708030a135c14c21050c63c77a17b; native log SHA-2568ac164e7ca86815b1059bfbf340b97e5d1a1f4b612ef7bacd6a902df11ae58d5. Native execution settled and restored source/pin cleanly. Earlier groups and passing Node executions were omitted; this diagnostic does not qualify the pin.Session inventory enrichment: Node and Bun resolve the admitted read where the test expects role-change rejection. The test-only repair preserves the existing fresh-read privacy assertions. Exact-head Bun CI passes all 14 privacy cases. The repair merged as
ebbd85cb6e7fbf04b72378577977fbf5de84e98a; repaired-head Node coverage remains pending.Stall observer: Node's delayed-capture test receives an unexpected sample. This case is intentionally skipped under Bun. The focused test repair counts stack packets separately from kernel samples while retaining delay rejection and budget checks. Exact-head Node/Bun CI passes all four Node cases (the repaired delayed-capture case in 42 ms), plus three Bun cases with the expected delayed-capture skip. The repair merged as
6e55f5c4d918f2b01e4dd72ff358404fdf554d28.Cron command device removal: Node and Bun both reach the 60-second command timeout where the test expects device removal to stop already-admitted work. Source audit points to another stale expectation after the captured-admission policy change; The focused real-child repair is ready after exact-head Bun CI passed in 2,115 ms. It requires admitted command completion and fresh-run refusal. The repair merged as
b8a2e78b82bdbbf4c20d6f1bbfd93d267007cac0; repaired-head Node coverage remains pending for pin qualification.Worker-turn initial setup: one Node case times out while holding input until syncing is authoritative and active; the exact Bun case passes. The timeout does not identify setup, admission, activation, settlement, or disposal as the stalled boundary. No shared retention cause is established.
Worker-turn attachments: the Node worker-turn case times out; its Bun counterpart and both remote-exec counterparts pass. This test checks media bytes and workspace manifests, not heap retention. The timeout identifies neither execution nor session-end settlement as the stalled boundary; no shared cause is established.
Git release service ownership: two Node cases supply synthetic service states without the now-required observed systemd manager UID, so inspection returns unavailable before the intended ownership assertions. Bun deliberately skips this suite. The two-field fixture repair has exact-head Node proof: all 12 cases pass, including both repaired ownership cases. Bun intentionally skips the suite. The repair merged as
fd4807ae11361d77fc25a702abf835a6b55ad71b; production inspection is unchanged.Followup startup and Visitor Access: Node times out waiting for queued startup settlement after a prepared-model-runtime lifetime error; Bun passes that group. Separately, Node and Bun both fail two Visitor Access assertions that expect retained execution ownership to disappear synchronously during source revocation, before validation resumes. The later commit assertions are not reached. The Visitor test-only repair requires both admitted renewals to succeed and persist, then verifies execution-owner cleanup. Exact-head hosted proof passes all five Visitor Access scenarios under both Node and Bun, including both revocation rows and final owner cleanup. The Visitor repair merged as
03115b5ed660e18fb46a7abcb70f7838595fc514. The startup timeout is a separate boundary; no shared engine cause or unauthorized commit is established.Chat stop and plugin-metadata retirement: Node and Bun both time out at the cross-device Stop product case. Later Gateway suites fail startup while plugin metadata is still retiring; secondary undefined-handle cleanup errors follow failed setup. Node also rejects the enabled cold harness fixture in the agent model catalog. The Stop wait, retirement cause, and fixture eligibility remain unproven; these failures are not waived.
Worker runtime publication and usage overview: Node times out during prepared-model publication for direct worker ownership and fails to settle the committed usage overview inside its one-second test wait. Corresponding Bun invocations pass. No specific plugin, suspended operation, or shared cause is established.
Integration update (2026-11-18)
Previous candidate:
b3db8b351ac3910858693a4f0a444d226177e81d. Previous-head Node/Bun validation completed with 127 successful, 22 failed, 13 skipped and 2 cancelled jobs. Workflow and checkout both used this SHA, with base42b907f,validation_tier=main,test_runtime_policy=dual-all, no release gate and no PR-selection input. This exercised the previously omitted cases. The PR remains draft; the pin is not qualified.preserves newer model controls when accepting an older draft (identity=false)while waiting for the model-picker option to appear, before selecting the newer controls or accepting the older submission. The cause of the missing option is unresolved. UI performance passed. This failure is separate from callback retention.resolveSessionTranscriptPathandresolveSessionTranscriptPathInDir. Their source, analysis inputs and dependency lock match main at42b907f. Other failed jobs remain unresolved; this summary does not waive them.This signed merge preserves the original pin commit and both signed fixture integrations, and incorporates main at
42b907fdd6764ad34177c7fbec56a4f052881f6f. Relative to that main revision, only the canonical Bun pin and two documentation references differ (+19/-19). All three landed fixture files match main byte-for-byte. Independent source review, signature verification, formatting and diff checks passed. The Bun pin is unchanged from the original candidate.The closed-admission root-cut comparison used original candidate
4ea5bab, with the original timer, collection and assertions. Old Bun passed all 8 cases; new Bun passed 7 and failed commit callback retention. Both pins collected all 4 closed admissions and the control in each case. This rules out the removed closed-admission roots in that projection, without identifying the surviving reference. Both cells settled and restored cleanly.The callback-identity comparison used the same original candidate and eight case identities. Old Bun passed all eight; new Bun passed seven and reproduced commit retention. Immediately after the original timer and GC, the new-pin commit case retained both
prepareMentionInvitationand its returnedassertCurrentguard, while the outer persistence Promise and control had collected. Rollback and both old-pin cases collected all observed objects. Both cells settled and restored the test and pin cleanly. This narrows the surviving identities without identifying their strong retainer; weak-reference instrumentation changes allocation/layout and does not qualify the current pin. The signed diagnostic controller received independent source review, parser tests, syntax checks and source-projection validation before execution.A follow-on operation-spy probe invalidated its old-pin control: old Bun changed from eight passes to seven passes and commit retention. Its observed operation parameters and run callback collected, while acknowledgement/completion callbacks survived, but the added observer changed the previously passing behavior. No runtime attribution or production repair is justified from this probe. Inspection of the pinned
@vitest/spy5.0.5 implementation found that spying adds.then()handlers to returned Promises; restoring the mock clears its histories but does not detach those handlers. The earlier review assumption that this probe added no Promise reactions is withdrawn. The old cell settled and restored cleanly; the new cell was cancelled before a verdict, and the run is fully stopped. The uninstrumented current-head failures remain the qualification blockers.The corrected direct-operation comparison, controller
1f2539fd, removes that spy and observes the original operation entry without wrapping its call or attaching Promise reactions. Old Bun passed all eight cases; new Bun again failed only commit retention. The operation parameter object and its run, acknowledgement and completion callbacks collected in both cases on both pins. Only the invitation preparation callback, returned guard and sentinel survived the new-pin commit case; the persistence Promise and control collected. This excludes those observed operation identities as the surviving roots in this projection, not every internal continuation. Both cells settled and restored both projected files and the pin cleanly. The same case identities and effective group hash were verified; instrumentation still changes allocation/layout and does not qualify the pin or establish an engine cause.A subsequent two-case async/disposal reduction, controller
bebc5ef9, passed commit and rollback with both pins. It retained the same Vitest configuration, outer guard-array ownership and single timer/collection boundary, but removed the database and publication owners. Both cells restored cleanly. The reduced fixture therefore lost a necessary condition; it is not a reproducer, does not exonerate either runtime or application ownership, and does not qualify the original failure. Further diagnosis needs a verified retaining path rather than another assumed lifetime cut.The transformed-code capture, also on the original candidate, recorded 7 passes and the commit retention failure. Its sole variant uses lowered disposal with both disposal calls present; helper identity remains unresolved. It establishes neither cause nor qualification.
The bounded profile-symbol inventory completed against the admitted published profile (ELF SHA-256
522fdc6d7f2a627d891195dadd2ee8a8e416efecde6be249cda965d8f5d752fb, build IDc785eaeb8d8f2537f3c40779bb203167a0481d00). It found defined JSC function, Promise, lexical-environment and marking-visitor symbols. All six tool operations settled successfully; the profile was not executed and no debugger attached. Symbol presence does not establish C++ object layouts, debugger callability or a retaining edge.The first post-GC stack attempt, controller
f19aac16, used that exact profile executable and reproduced seven passes plus the original commit-retention failure. All six preparation steps passed and the native shard completed with exit 1. The debugger child exited 1 without its receipt; the parent continued, but attachment and detachment were not verified. The overall capture is INCONCLUSIVE and source was retained for runner teardown. It supplies no stack, root or scanner evidence. A follow-on run was cancelled before native execution after source review found that LLDB rejects hyphens in Python module names. The collector was renamed and import preflight passed in the corrected run, but attachment timed out at 60 seconds without a receipt. A phase-marker run then reached debugger startup but never entered the collector before the same deadline. Both repeated seven passes and the original commit-retention failure; neither verified debugger detachment, and neither establishes stack ownership or a scanner cause. Their sanitized snapshots again recorded a 20-node, 27-edge reverse graph with no reported root path, while the overall snapshot status remained incomplete. The same-profile attach/detach preflight with lazy symbol loading passed exact PID/start-time/revision/executable-hash binding, attachment, detachment, debugger exit 0 and parent continuation. The full eight-case projection then reproduced seven passes and the commit-retention failure, but attachment to the loaded Vitest worker again timed out before collector entry. All seven preparation steps passed. Minimal-process attachment therefore works; loaded-worker attachment remains the unqualified boundary. No stack capture or frame ownership is established, and the overall result remains INCONCLUSIVE. Raw debugger output remains private to the hosted runner.The bounded packet-class trace confirms that the loaded worker answered memory and thread queries while LLDB remained before collector entry; the minimal-process preflight attached and detached successfully. Disabling LLDB JIT-module loading in the next comparison left the same timeout and seven-pass/one-commit-retention-failure outcome. That debugger candidate is unsupported. Neither run reached stack capture or verified loaded-worker detachment. Raw protocol payloads remained private; reported packet classes do not establish a matched request/reply identity or server deadlock. The GDB attachment-only preflight passed on the exact published profile executable: identity, attach, detach, debugger exit zero and parent continuation verified. No OpenClaw test was run in that preflight.
The full GDB diagnostic then completed capture and clean detachment in the real Vitest worker. It collected 13 native frames and 19,856 bytes of main-thread stack, omitting 23 other threads. One word at stack offset 3,544 matched a zero-incoming Function cell in the recorded reverse graph; no general-purpose register matched. The graph still contained 20 nodes and 27 edges, with no reported root path. This is a post-GC occurrence, not proof of a GC-scanned root, frame ownership or the retention cause. The original eight cases remained seven passes and the commit-retention failure. The snapshot retains
complete: false; a separate complete-recorded-graph admission enabled this diagnostic without claiming a root path. Test source and the candidate pin were restored, and tracked source was clean.The anonymous fulfillment handler in
session-turn.tsremains a source-backed candidate for that Function. The identity-preserving WeakRef calibration passed its admission rule: old Bun passed all eight original cases and collected the callback in both outcomes; new Bun passed seven cases, failed the original commit-retention assertion, and retained the callback and sentinel only after commit. Both controls collected, and exactly one callback was observed in each case. The observer returns the original function and adds no Promise reaction. This preserves the original old-pass/new-fail distinction; it does not identify the captured stack Function or prove a GC root. The full identity run identified that callback as the captured Function: callback index 0 matched collector celln1, present once at main-stack offset 3,608. Capture, clean detachment, debugger exit zero and parent continuation all verified. The eight cases remained seven passes and the original commit-retention failure; rollback callback and sentinel collected. This identifies the Function, not a GC-scanned root or engine cause. Source, test and pin were restored, with tracked source clean. Artifact14504439609, report SHA-256cac2f530c666bdd8c232c885970cf6ca9bf13c97db1b3d6ad9499b985b34a8dd.A source-only candidate moves only the identified fulfillment handler to a private module-level function, preserving its result shape and leaving the inline rejection handler and
.thenordering intact. The native line-cap gate passed without increasing counted lines. The validation run uses controllera5200973f6d638aeeee140e592dfd654ffa79bd3and source projection SHA-256bf4abb5852f07d92b4ad3a697fc09513815ec2aebbd776bc2445562ad7765657. Acceptance: the original uninstrumented eight-case test must pass with the new published Bun, including commit collection, rollback error identity and admission cleanup; source and pin must restore cleanly. Only then may the unchanged 309-file native group run and pass. No observers, debugger, extra GC or changed assertions are included. This is a bounded lifetime-fix experiment; no RAM or latency improvement, engine-cause or fresh pin-qualification claim is made.GDB evidence: attachment artifact
14414847759, report SHA-2561aaa3b9b549f54a40250d0636a76a4c25fd721327e4f82687222cf44185be5da; full-capture artifact14414489763, report SHA-256b7a0bffe4b8fe190025fd1ee5913ed55bf666c58f8fb1b38780c47b98edc4324. Raw snapshots and debugger output stayed private to the hosted runner; published evidence contains bounded classifications and identifiers only.Historical evidence below belongs to its stated source or projection. It does not supersede the current-head failures above.
What Problem This Solves
CI and app-managed runtimes still select the October OpenClaw Bun build.
User Impact
Updates the shared Bun pin to the signed November prerelease across all six supported targets.
Why This Change Was Made
Regenerates the shared pin from the published manifest, including archive and executable checksums, and updates the two current documentation references.
Evidence
Validation remains blocked by Doctor, invitation retention and other unresolved findings. The separate POSIX fixture repair has landed with passing projected proof and its own successful CI; this unchanged pin candidate is not ready to land.
4ea5babab09c338812ae50dbcdaed990f48cd0fc.KeyError: 'revision'. This closes the focused ARM recovery gap, not full Swift, x64 or overall repin qualification. The initial broader-build run timed out before cases.59bc44ff, reversed those outcomes: true passed in 5,432 ms; false failed in 300,006 ms across the 120-second test and 180-second hook budgets. Both runs recorded 114 files passed, one failed and one skipped; 1,046 tests passed, one failed and five skipped. Each completed with native exit 1, no controller failure or settlement uncertainty, five passing preparation steps, and restored source/pin with tracked source clean. Native arguments, environment, full preset, reporters and budgets stayed unchanged. The phase run recorded 62 contiguous case-attributed frames: true had no unmatched entry; false entered maintenance acquisition and finally-isolation without returned markers, with afterEach preceding the finally frames. Framing completeness means only untruncated attributed records; a missing returned marker may reflect a throw, not a stall. Marker writes can affect timing and scheduling. Neither failure is waived, and no internal cause, timeout fix or unchanged-C qualification is established. The earlier cause diagnostic remains distinct: snapshot-staging readiness-deadline and channel-closed cleanup errors, native 143, uncertain settlement and no restoration.session-mention-invitation.test.ts:285: identical 3,308 case identities and 34 skips, with 3,274 old-pin passes versus 3,273 new-pin passes and one failure. The callback sentinel remained retained while its control collected; both runs settled and restored cleanly. See the old evidence and new evidence. The isolated eight-case replay also passed with the old pin and failed with the new pin. A native-callback contrast passed all eight cases with one collection request per retention case and restored cleanly, but changed the collection call site, Promise rooting and ordering. It neither qualifies unchanged C nor establishes a cause or waives the original failure. The latest labeled reverse-graph diagnostic again recorded seven passes and the same commit-retention failure across eight cases. Its graph is complete as recorded: 20 nodes, 27 edges and no reported root path. The sole Function with zero recorded incoming edges has an unrepresented label; lexical, invitation-guard and message-preparation links remain source clues. Native retention still fails. Extra GC, layout perturbation, possible address reuse and unverified weak-edge semantics prevent a retention-strength, scanner or cause conclusion; the original failure is not waived. The post-settlement transformed-code capture again finished with seven passes and the same retention failure. It found one exact cached-code variant, but matched zero disposal anchors, so the capture remains incomplete and establishes no engine cause.service-child-group-anchor.preparation.test.ts: worker-close; control EOF with cancellation false/true; IPC disconnect without cancellation; and parent loss without cancellation.3baa3645653f47caeeef6bf034232d9116149b7f, with the landed helper matching the reviewed fix. Its separate exact-head CI attempt 2 succeeded with 25 passed, 30 skipped and zero failed after one supported failed-only infrastructure recovery. This pin candidate remains unchanged; neither that fixture-head CI nor the projected proof qualifies a fresh Bun-pin head or resolves its remaining failures.Separate Follow-ups
The pin change remains scoped to three files. Recorded failures also exposed three unchanged owners for separate fixes: pairing fixtures advertise no
operator.pairingscope; CI omits required Bun setup for two Node interoperability tests; prepared MCP catalog data is parsed as JSON after a serializer emits bareundefined. Their failures remain recorded; source attribution does not make the full CI run green.Calibration evidence: controller
9e1cb7808ffab3072b7fc2a6f3463a1aa19427e3; old artifact14504218985, report SHA-256c21996276063a5e5c7cda446500670cbaf3679d0f4884b2497d83184a32654c9; new artifact14504820759, report SHA-256b49737deae16cf571976377f0e7e330031ca1c08f34c24de54157c57dfe9c4a3. Source, test and pin were restored in both jobs, with tracked source clean.Callback lifetime repair landed
The fulfillment-only repair in #201685 landed as
8db39f34886f082ead5a84183d359d9535eb15b7and is now included in this integration head. Its source-only projection passed all eight original invitation cases on the new published Bun in https://github.com/openclaw/bun/actions/runs/44473306447. The unchanged original 309-file group also passed: 305 files passed, four skipped; 3,274 tests passed, 34 skipped, zero failures. Both native commands exited zero with complete settlement, unchanged test bytes and clean source/pin restoration.The repair's exact-head CI passed all six selected Node test jobs, build, baseline ratchets and PostgreSQL shards. Its merge-context run https://github.com/openclaw/openclaw/actions/runs/44477106190 completed with 35 successful jobs, 27 skipped and two failures plus the aggregate gate: a plugins asset-request assertion matching scheduled main, and a Node environment-setup timeout contacting Ubuntu package mirrors before tests. All five PostgreSQL checks, including PostgreSQL 16 smoke, passed. Native landing retained those unrelated failure attributions through the supported exception. These results prove the scoped repair, not this fresh full pin candidate; the remaining Doctor and full-runtime qualification work is not waived.
Beam owned-view diagnostic: reproduced
The failure-only location capture completed in https://github.com/openclaw/bun/actions/runs/44496175089 at controller
6c3f44695d4349200000a928110e67759217758d, using frozen sourcebf665f2db8cbfed047cd084d9ee4ed333653549band the existing candidate pin. Both target cases passed on Node and failed on Bun:The two captured cause chains include
src/state/openclaw-state-db-cache.ts:667, where the frozen source rejects a retired state database lifecycle, followed by the state worker owner/store and plugin resource host. These are handler observations, not frames individually bound to a test case, and do not yet establish why the lifecycle differs. The group also reports other failures on both runtimes. This is diagnostic evidence, not qualification of the pin.Artifact
14518610253: archive SHA-25626c304370f0cef3224f61b33718b744d7e206e2439857ba4b867263c6db8b41d;report.jsonSHA-2569d10a5267f0b85c6b879bbde32cc766a05524d14050c14485649f5b043c9c2e2(32,448 bytes).The full run at https://github.com/openclaw/openclaw/actions/runs/44498303546 is still in progress at integration head
96dc22a3080d0538556e4c934233dbde6648955b. Observed failures include Chromium UI cases in shards 6/10 (cached transcript row positioning) and 7/10 (plugin inventory setup). Those jobs run Node/Chromium without installing the Bun pin. Exact-baseline attribution remains pending; neither failure is waived here.