Harden scheduler Node 22/24/26 and wrapper dispatch paths#12
Merged
Conversation
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.
Summary
better-sqlite3on^12.10.0so the native binding supports the Node 26 ABI.index.mjspaths when the packaged scheduler dispatch scripts are available, while preserving branded config/state via env vars.crashed, fixing the macOS Node 22 CI race exposed by the expanded matrix.Validation
node --version:v26.0.0;npm --version:11.12.1.npm cipassed under Node 26. npm reported one existing moderate audit finding.node --check dispatch/index.mjs && node --check dispatch/529-recovery.mjs && node --check tests/delivery-fixes.test.mjspassed.npm run verify:localpassed under Node 26: lint, typecheck,npm test(1768 passed, 0 failed), coverage (1768 passed, 0 failed, critical module thresholds passed), and pack.node --test tests/delivery-fixes.test.mjspassed (13 passed, 0 failed).npm run lintpassed after the standalone test assertion adjustment and again after the dispatcher replay test-race fix.npm testpassed after the dispatcher replay test-race fix (1768 passed, 0 failed).Host Verification
mac-mini.lan): Nodev26.0.0;command -v nodeis/opt/homebrew/bin/node;process.execPathis/opt/homebrew/Cellar/node/26.0.0/bin/node. Verified/Users/alexm/.openclaw/chilisaus/index.mjsand529-recovery.mjswithnode --check, verified/Users/alexm/.openclaw/packages/openclaw-scheduler/node_modules/openclaw-scheduler/cli.jsexists and passesnode --check, and confirmed the live chilisaus files containresolveSchedulerCliPathwithOPENCLAW_SCHEDULER_CLI/SCHEDULER_CLIfallbacks. The live chilisaus checkout already has local modifications/untracked synced files; I only inspected it and did not alter that checkout.ssh alex@mini-beast.lan): reachable. Nodev22.20.0;command -v nodeis/usr/bin/node;process.execPathis/usr/bin/node-22. No~/.openclawroot,~/.openclaw/chilisaus, packaged scheduler CLI, or scheduler/chilisaus process was present to validate on that host.CI
cb511f1cdfab97cc2128fe4ebae7947a5097a813passed all six jobs: Ubuntu and macOS on Node 22, 24, and 26.Caveats