Repository navigation
test(tui): fix session epilogue assertions after codev rebrand - #34
Merged
Merged
Conversation
…ring The fork rebranded the session-continuation command from `opencode -s` to `codev -s`, but two epilogue tests still asserted the old string and failed on `main`. Point them at `codev -s` to match the shipped output. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
quickbeard
force-pushed
the
fix-epilogue-tests
branch
from
July 11, 2026 02:53
6feb652 to
cfb7910
Compare
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
Two tui tests asserted the pre-rebrand session-continuation command
opencode -s <id>and were failing onmain. The fork'ssessionEpiloguenow emitscodev -s <id>(see the CODEV banner +Continue codev -s ...in the epilogue). Update both assertions to match.packages/tui/test/util/presentation.test.ts:7—opencode -s ses_123→codev -s ses_123packages/tui/test/app-lifecycle.test.tsx:122—opencode -s dummy→codev -s dummyWhy
Stale assertions, not product bugs — the epilogue command string is a deliberate fork divergence (
codev, notopencode). The tests just weren't updated when it was rebranded.Notes
bun testinpackages/tuinow reports 191 pass, 1 skip, 0 fail (was 2 fail).Failed to read KV state … ENOENTlines in test output are pre-existing warning logs from other tests, unrelated to these failures.🤖 Generated with Claude Code