Repository navigation
fix(ci): restore cron provider preparation coverage - #173741
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
October 16, 2026 03:34
vincentkoc
enabled auto-merge (squash)
October 16, 2026 03:41
Member
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 16, 2026
RomneyDa
added a commit
that referenced
this pull request
Oct 30, 2026
* fix(test): match database ownership CLI error envelope (#184188) * fix(test): match database ownership CLI error envelope * fix(test): match database ownership CLI error envelope OpenClaw-Publication: 3625b1b7-5214-499c-a744-614ce8df2038 (cherry picked from commit 592df0b) Co-authored-by: RomneyDa <[email protected]> * fix(gateway): restore hook and cron capacity validation (#177400) * test(gateway): align hook capacity proof with bounded priority Observe inner-lane queueing instead of sleeping, retain exact provider and terminal completion proof, and cover the normal/background aging boundary with the existing controlled-clock group fixture. Co-authored-by: vincentkoc <[email protected]> * fix(gateway): restore hook and cron capacity validation Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: d64434ff-49f6-4ce0-824b-a4ee23a27421 --------- Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit 0cd30da) Co-authored-by: RomneyDa <[email protected]> * fix(gateway): shutdown validation kills a pending session-end hook (#177243) * test(gateway): use native SIGTERM for session-end shutdown proof Select the existing graceful test-process signal path and shared custody safety net so the real session_end hook can drain. Keep cleanup and test deadlines, hook delay, and exit/trace assertions unchanged. The original Node E2E reproduces SIGKILL with only the started trace; the fixed entrypoint exits cleanly and records completed. The 89 helper tests pass. The unchanged restart-handoff sibling timed out at 180 seconds and remains an unresolved proof gap. Co-authored-by: vincentkoc <[email protected]> * fix(gateway): shutdown validation kills a pending session-end hook Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 1274106f-0856-4536-989c-d943300695b3 --------- Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit de89889) Co-authored-by: RomneyDa <[email protected]> * fix(ci): restore cron provider preparation coverage (#173741) (cherry picked from commit 07e427e) Co-authored-by: RomneyDa <[email protected]> * test(qa): use a stored account in memory provenance proof The account-binding contract introduced in d25a316 (#172590) rejects isolated cron jobs backed only by a provider-config API key. The memory provenance fixture still selected mock-openai, while the QA harness stages stored accounts for openai and anthropic. Select the openai alias backed by the existing synthetic QA account. Keep the same mock endpoint, restricted client, restart, cron execution, and all provenance assertions unchanged. No production behavior changes. Verified the unchanged test passes on c645438 and fails at cron.add on d25a316; git bisect identifies d25a316 as the first bad commit. The repaired case passed three consecutive Node runs; the final run also passed the explicit-owner sibling (2/2 in the file). Root-test typecheck, scoped oxlint, oxfmt, and git diff --check passed. (cherry picked from commit 7f8d68d) Co-authored-by: RomneyDa <[email protected]> * fix(test): stop report fixtures clearing shared Vitest caches (#188130) * fix(test): keep the native clear-cache fixture off the shared Vitest cache * fix(test): isolate report fixture caches across project roots --------- Co-authored-by: Vincent Koc <[email protected]> (cherry picked from commit 60fb2e5) Co-authored-by: RomneyDa <[email protected]> * test(gateway): await placement admission before fixture clients Focused backport of 47bd0f3 for the exact FRV placement-scope failure. Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: Jason (Json) <[email protected]> Co-authored-by: RomneyDa <[email protected]> Co-authored-by: RoboClaw <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Ayaan Gazali <[email protected]> Co-authored-by: roboclaw-bot <[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.
What Problem This Solves
Fixes the cron provider-preparation E2E fixture failing admission before it can exercise the selected provider and fallback.
User Impact
Internal CI repair only. The existing three E2E cases again prove provider preparation, fallback hooks, and recurring-job survival; production authentication behavior is unchanged.
Why This Change Was Made
The cron fixture now explicitly selects API-key authentication for both providers and supplies their synthetic test keys. A key alone still leaves the fixture's runtime auth hook selected, which cron admission rejects. The subagent case retains runtime synthetic authentication, and every existing assertion remains intact.
Simplification: five fixture lines added, no production changes or new test cases.
Evidence
test/plugin-cron-registry-owner.e2e.test.tsreplay through the real Gateway on a 16-class Blacksmith Testbox: 3/3 passed, 33.8 seconds of tests, 61.4 seconds in Vitest, 72.3 seconds for the warm command; peak RSS 3.3 GiB. This existing E2E file covers actual Gateway/provider lifecycle behavior that an isolated unit test cannot establish.git diff --checkpassed.