Repository navigation
fix(ci): restore cron fixture typechecks - #159131
Closed
roboclaw-bot wants to merge 1 commit into
Closed
roboclaw-bot wants to merge 1 commit into
roboclaw-bot wants to merge 1 commit into
Conversation
Repair the existing main-branch typecheck and runtime failures without changing production scheduling or test assertions. Co-authored-by: IWhatsskill <[email protected]>
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. |
roboclaw-bot
marked this pull request as ready for review
September 26, 2026 19:43
This was referenced Sep 26, 2026
Collaborator
Author
|
Superseded by the landed main fix c0e6951d6f02, which completes the scheduler wiring for both history fixtures and the startup/lazy-proxy test. Current main also uses the joined manual scheduler clock for suspension and exactly-once delivery. All four original missing-scheduler diagnostics are covered; the history authority checks still use real Date.now independently of fixture bookkeeping. Closing this duplicate without merging it. The Android PR will receive a fresh merge-ref CI run against the repaired main. |
wheakerd
pushed a commit
to wheakerd/clawdbot
that referenced
this pull request
Sep 27, 2026
Forward-merge openclaw#159131 at 03d91f4 without rewriting its author credit. The main-inherited fixtures omitted the required scheduler; canonical Gateway-methods and cron-service test type graphs now pass. The history fixture patch was independently reproduced red/green, tested in isolation and reviewed. No production scheduling or native inference behavior changes. Co-authored-by: sallyom <[email protected]> Co-authored-by: steipete <[email protected]>
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.
Related: #159099, #158776, #159086, #158582.
What Problem This Solves
Fixes main's core-test typecheck failures and Cron history test crashes after newly added fixtures omitted the required Gateway scheduler.
User Impact
Restores CI coverage without changing production Cron scheduling, authorization, configuration, protocol, or stored data.
Why This Change Was Made
Three test fixtures now supply the existing test scheduler. Disabled history fixtures retain live
Date.now()semantics without arming timers. The startup/suspension test shares one fake-timer scheduler between the real service and lazy Gateway proxy and stops it during teardown. No assertions, retries, timeouts, suppressions, or scheduler policy were weakened; no test cases were added.The repository's red-main workflow requested a direct fix, but GitHub rejected the push with
GH013: Changes must be made through a pull request. This is the required fallback PR, not an unrelated test-refactoring sweep.Evidence
TS2741diagnostics. The tested main base97b0a7c85009and later main revisions contain identical failing test and dependency-contract blobs; the Android PR changes none of them.8bfe139a13b0. Before repair, seven Cron history runtime cases also failed on missingscheduler.now; the publication sibling's three cases passed. Baseline wrapper: 42.99 s including cold compilation.check:changed --base 8bfe139a13b0passes (196.10 s), including graph boundaries, typed lint, the relevant type graphs, three Knip scans and shared guards. Formatting andgit diff --checkpass.cab45a1600d6; all three patched file blobs are identical to the reviewed candidate, and the exact type graphs pass again (services 1.3 s; Gateway methods 1.5 s). Candidate:03d91f41439c28357f70307353071fd0d8d4a04e.Commands:
node scripts/run-tsgo-core-test-shards.mjs --ci-graphs-json '["core-test-gateway-methods","core-test-services-cron"]' --concurrency 2 node scripts/run-vitest.mjs src/gateway/server-methods/cron.history.test.ts src/gateway/server-methods/cron.history-publication.test.ts src/cron/service/ops-lifecycle.start-arm.test.ts src/gateway/server-cron-lazy.test.tsWorked on by
Work sessions
View the OpenClaw team session