feat(middleware): implement LIVE=1 smoke test for OpenCode CLI runtime (#38)#41
Merged
alexey-pelykh merged 1 commit intomainfrom Feb 26, 2026
Merged
Conversation
#38) Co-Authored-By: Claude Opus 4.6 <[email protected]>
Author
LIVE smoke test result
The test is structurally identical to the Gemini/Codex smoke tests which pass when their CLIs are present. The failure is Other test results for context:
The test will pass on a machine with |
4 tasks
alexey-pelykh
added a commit
that referenced
this pull request
Mar 23, 2026
The isHookAgentRoutingUnrestricted helper and its finding emission were lost when audit-extra.sync.ts conflicts were resolved during cherry-pick #41 (904db27). Re-apply the upstream logic. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
alexey-pelykh
added a commit
that referenced
this pull request
Mar 23, 2026
* refactor: share acp conversation text normalization (cherry picked from commit 0f637b5) * fix(acp): preserve hidden thought chunks from gateway chat (cherry picked from commit 742c005) * refactor: simplify remaining runtime singletons (cherry picked from commit 88d39b1) * test: trim plugin-heavy unit test imports (cherry picked from commit b26edfe) * Security: split audit runtime surfaces (cherry picked from commit c713727) * test: merge audit auth precedence cases (cherry picked from commit 03b4056) * Security: lazy-load channel audit provider helpers (cherry picked from commit 093e51f) * fix(acp): preserve final assistant message snapshot before end_turn (openclaw#44597) Process messageData via handleDeltaEvent for both delta and final states before resolving the turn, so ACP clients no longer drop the last visible assistant text when the gateway sends the final message body on the terminal chat event. Closes openclaw#15377 Based on openclaw#17615 Co-authored-by: PJ Eby <[email protected]> (cherry picked from commit 17c954c) * fix(acp): preserve hidden thought replay on session load (cherry picked from commit 32fdd21) * test: preserve node os exports in windows acl mock (cherry picked from commit 74b9ad0) * fix(acp): scope cancellation and event routing by runId (openclaw#41331) (cherry picked from commit 7c76aca) * fix(security): audit unrestricted hook agent routing (cherry picked from commit 904db27) * refactor: share acp binding resolution helper (cherry picked from commit 9b6790e) * External content: sanitize wrapped metadata (openclaw#46816) (cherry picked from commit a97b901) * fix: harden external content marker sanitization (cherry picked from commit b7afc7b) * fix: adapt cherry-picks for fork TS strictness - Add shared/global-singleton.ts utility (upstream dependency) - Fix OpenClawConfig → RemoteClawConfig in cherry-picked files - Fix audit-channel.runtime.ts paths to fork layout - Remove missing exports from audit runtime re-export files - Fix windows-acl.test.ts os mock typing for strict TS Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * fix: restore hooks.allowedAgentIds audit finding lost during merge The isHookAgentRoutingUnrestricted helper and its finding emission were lost when audit-extra.sync.ts conflicts were resolved during cherry-pick #41 (904db27). Re-apply the upstream logic. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: scoootscooob <[email protected]> Co-authored-by: PJ Eby <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> Co-authored-by: Pejman Pour-Moezzi <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[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.
Summary
opencode.live.test.tssmoke test for OpenCode CLI runtime, completing the 4-CLI smoke test suite (Claude, Gemini, Codex, OpenCode)describe.skipIf(!LIVE)guard, temp dir setup, ChannelBridge withprovider: "opencode", single-turn + session resumption assertionsOpenCodeMcpConfigManagersetup/teardown lifecycle via ChannelBridge MCP configTest plan
LIVE=1 pnpm test:livepasses with pre-authenticatedopencodeCLILIVE=1)Closes #38
🤖 Generated with Claude Code