Repository navigation
improve: trim duplicate gateway CLI process tests - #122240
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 11, 2026 20:05
steipete
force-pushed
the
perf/gateway-backed-process-duplicates
branch
from
August 11, 2026 20:07
82d1472 to
6a9b650
Compare
Contributor
Author
|
Land-ready evidence for exact head
Known review-tool gap: the bundled autoreview exact-diff TruffleHog scan passed twice, but this orb has no configured Codex executable, so that helper could not run its model phase. The independent expert review covered the final diff instead. |
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
to tangtaizong666/openclaw
that referenced
this pull request
Aug 11, 2026
…-prep * commit 'edb7a1692e58d78ff7e196db39ea8eff297b2e19': (1351 commits) fix(telegram): expose live location updates to hooks (openclaw#122185) fix(ui): remove the pre-creation session row (openclaw#122259) fix(openai): surface failed realtime response outcomes (openclaw#121177) fix(logging): publish diagnostics ZIP through staged atomic overwrite (openclaw#122130) test(cli): trim duplicate MCP probe process cases (openclaw#122260) feat(agents): replay persisted native video (openclaw#122257) fix(test): serialize default e2e runner (openclaw#122203) fix(ui): always show full assistant responses (openclaw#122207) feat(mcp): per-requester OAuth for MCP servers (openclaw#122166) fix(ui): preserve focus on composer accessory clicks (openclaw#122243) fix(backup): exclude state temp files (openclaw#122250) fix(browser): let attached workers exit after CDP use (openclaw#122103) test(cli): trim duplicate Claw authoring process cases (openclaw#122248) refactor(outbound): inline delivery diagnostics (openclaw#122219) refactor: eliminate final wrapper-shadowing hazards (openclaw#122157) fix(ui): keep new-session identity anchored (openclaw#122242) test(cli): trim duplicate gateway process cases (openclaw#122240) fix(media): decode local file URLs safely (openclaw#122192) refactor(agents): centralize typed activity event emission (openclaw#122188) fix(ui): effort slider matches selected level after model switches (openclaw#122125) ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 12, 2026
Co-authored-by: Amp <[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
The gateway-backed CLI process suite paid for seven serial Node + TSX process launches even though four of them replayed error classification and JSON-routing contracts already owned by focused command and formatter tests. The focused file took 18.936s in exact-ref hosted CI and was a recurring CLI-shard hotspot.
Why This Change Was Made
Keep three distinct real boundaries: the system-CA one-shot shutdown regression, one missing-credential JSON/exit composition sentinel through the real health entry point, and the real pre-hello WebSocket rate-limit path. Remove the explicit-URL, routed gateway-health, generic gateway-call, and authenticated-unreachable process replays; their semantics remain covered at the health command, routed-health, gateway registration, and call/formatter owners.
Independent review also found that timeout cleanup killed a tracked child without clearing its stale object from
activeChildren; teardown now clears that set after child cleanup.User Impact
No runtime behavior changes. Developers and CI run four fewer full CLI processes while retaining the process and transport regressions that cannot be proven by in-process tests.
Evidence
01cd9cc2a80d71d6adb697938fe01fafb2feeb006a9b650970bfb6dd2c97213f64e38fcd7143f2fdsrc/gateway/call.test.ts,src/commands/health.test.ts,src/cli/gateway-cli/health-route.test.ts, andsrc/cli/gateway-cli.coverage.test.ts.oxfmt --checkandgit diff --checkpassed.