Skip to content

fix: keep pending-input retention proof reliable in CI - #184161

Merged
shakkernerd merged 2 commits into
mainfrom
pending-input-node-runtime-contract-410
Oct 26, 2026
Merged

shakkernerd merged 2 commits into
mainfrom
pending-input-node-runtime-contract-410

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an invalid runtime assignment in CI: the pending-input retention regression requires V8 forced collection, but it was included in Bun/JSC shards where conservative stack scanning could keep its target alive and make the result non-diagnostic.

The retention cases originally shared a file with 31 ordinary pending-input contracts. Routing that whole file to Node would make the retention oracle valid by dropping useful Bun coverage from every neighboring case.

User Impact

There is no user-visible or production-runtime change. CI now checks the two retention contracts on their supported Node/V8 oracle while continuing to exercise all 31 ordinary pending-input cases on Bun.

Assertions, timeouts, direct and aggregate owner paths, cleanup, workflows, runners, permissions, dependencies, and product lifecycle behavior are unchanged.

Why This Change Was Made

The two forced-collection cases now live in a dedicated test file. Its collection driver gives V8 four job/collection opportunities and a final post-collection turn, matching the repository's established bounded retention-test pattern without adding a sleep, timeout, global GC flag, shared helper, or production seam.

The existing exact-file runtime selector sends only that dedicated file to Node. The selector's owner test also proves that the original pending-input file remains on Bun, preventing future policy widening from silently erasing ordinary Bun coverage. The dedicated contract is retained beside the original file in the protected runtime inventory and worker-source policy watch, so relevant owner changes cannot silently omit it.

Evidence

The historical scheduled shard reproduced the problem on Bun: the independent control collected, but the pending-input target remained reachable. A first Node qualification showed that the prior single-cycle fixture was also not a stable oracle on the supported Node 24/Darwin lane. The existing production-owner workload then released both ordinary and collected targets with timers still pending, narrowing the correction to the test collection boundary rather than production lifecycle code.

On the initial split tree ee14d1b3:

  • Runtime qualification selected ten controls—including the original 31-case file—for Bun and only the dedicated two-case retention file for Node.
  • Changed-path formatting and lint passed with zero warnings or errors.
  • The affected production/test type graphs passed.
  • The exact mixed-runtime run completed 11/11 invocations and 825 tests with zero failures.
  • The original pending-input file passed 31/31 cases on Bun.
  • The dedicated cold-first retention file passed both direct and aggregate cases on Node with zero skips; the control collected, the timer stayed referenced, and the target collected under the unchanged strict assertions.

On the final correction tree a5077b30:

  • Changed-path formatting/lint and all affected type graphs passed.
  • The protected-inventory and worker-source planner regression passed together with every direct importer of those planning owners: nine files, 336 tests, zero failures.
  • The runtime selector and both behavior-test files are byte-identical to the initial split tree, so the 31-case Bun and two-case Node results above are reused rather than described as rerun on the correction head.

On the final head, calibrated independent review and the installed automated review are clean. Hosted CI is registered and still running; no exact-head failures have been observed.

@clawsweeper

clawsweeper Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S labels Oct 26, 2026
@shakkernerd
shakkernerd merged commit a363cc4 into main Oct 26, 2026
154 of 157 checks passed
@shakkernerd
shakkernerd deleted the pending-input-node-runtime-contract-410 branch October 26, 2026 03:54
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Fixed: pending-input retention checks now use their supported Node/V8 oracle while ordinary pending-input coverage remains on Bun.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 26, 2026
Keeps forced pending-input retention checks on their supported Node/V8 oracle while preserving ordinary pending-input coverage on Bun and retaining both contracts in CI planning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant