Skip to content

test(cli): stabilize prompt cancellation waits#9822

Open
markijbema wants to merge 2 commits intomainfrom
mark/prompt-test-determinism
Open

test(cli): stabilize prompt cancellation waits#9822
markijbema wants to merge 2 commits intomainfrom
mark/prompt-test-determinism

Conversation

@markijbema
Copy link
Copy Markdown
Contributor

Summary

  • Replace several infinite fake LLM streams in prompt cancellation tests with gated finite streams.
  • Wait for shell busy state through SessionStatus instead of fixed startup sleeps in active shell queue tests.
  • Keep remaining process/assertion-window sleeps unchanged to limit the first PR scope.

Notes

  • bun run script/check-opencode-annotations.ts passed.
  • bun test ./test/session/prompt.test.ts could not run locally because @opentui/solid/preload is missing in this workspace.
  • bun run typecheck could not run locally because tsgo is missing in this workspace.

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented May 4, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • packages/opencode/test/session/prompt.test.ts

Reviewed by gpt-5.5-20260423 · 272,860 tokens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants