Skip to content

test(opencode): align unknown finish coverage - #43895

Merged
thdxr merged 1 commit into
devfrom
unknown-finish-tests
Aug 21, 2026
Merged

test(opencode): align unknown finish coverage#43895
thdxr merged 1 commit into
devfrom
unknown-finish-tests

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • update non-interactive CLI expectations for unknown-finish continuation
  • verify partial text remains visible before the recovered response
  • verify JSON event order includes the unknown step and successful continuation

Why

The prompt loop now continues after every unknown finish. Two CLI tests still asserted the previous behavior, where the process stopped immediately after persisting the unknown step. These expectations now exercise the intended continuation and recovery behavior instead.

Testing

  • bun test test/cli/run/run-process.test.ts -t "unknown stream finish" (2 pass)
  • git diff --check

Requested by: @thdxr (dax via Slack)

@thdxr
thdxr merged commit 1b937c8 into devAug 21, 2026
10 checks passed
@thdxr
thdxr deleted the unknown-finish-tests branch August 21, 2026 14:56
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@thdxr