Repository navigation
test(e2e): cover core session streaming, stop, and permission prompts - #427
Merged
chriswritescode-dev merged 1 commit intoOct 15, 2026
Merged
chriswritescode-dev merged 1 commit into
chriswritescode-dev merged 1 commit into
Conversation
6 of 9 tasks
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
chriswritescode-dev
merged commit Oct 15, 2026
f49953d
into
feat/tts-visible-messages-shortcut
2 checks passed
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
Adds end-to-end coverage for the core chat session flow. Before this, e2e only checked that the session page renders.
New spec
e2e/session-core.spec.tspermission: { bash: 'ask' }, the mock model calls theshelltool. "Allow Once" runs the command (a marker file appears), and the follow-up reply shows.Mock provider (
e2e/mockProvider.ts)tool_calls, a fixed follow-up after a tool result, and a clean stop when the client disconnects.createMockRepoaccepts extraopencode.jsonconfig, and waits until OpenCode has loaded the mock model for the new directory. Without the wait, a session could start on OpenCode's default model and fail.setReply(text)is unchanged for the existing specs.Validation
session-core.spec.tswith--repeat-each=3 --workers=1: all passed.tsc. They are not covered bypnpm typecheck.Type of Change
Checklist
pnpm lintpasses locallypnpm typecheckpasses locally