test: expand e2e and credential coverage - #95
Open
orangeboyChen wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0c31531e83
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #95 +/- ##
==========================================
+ Coverage 94.46% 94.74% +0.28%
==========================================
Files 21 21
Lines 4242 4246 +4
Branches 1232 1233 +1
==========================================
+ Hits 4007 4023 +16
+ Misses 235 223 -12
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
orangeboyChen
force-pushed
the
codex/test-coverage-e2e
branch
from
September 3, 2026 12:38
0c31531 to
39c7755
Compare
orangeboyChen
force-pushed
the
codex/test-coverage-e2e
branch
from
September 3, 2026 13:15
39c7755 to
c057adf
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.
Summary
This PR adds a comprehensive end-to-end test matrix, expands credential lifecycle unit coverage, and isolates Playwright runtime data so tests cannot read, modify, or delete existing development data.
E2E Coverage
Pages and user flows
Server routes and error contracts
app/: health, admin APIs, public OpenAI/Anthropic-compatible APIs, and CodeBuddy auth start/poll/callback routes.Isolation and safety
reuseExistingServer: false.CODEBUDDY_STORAGE_FILE_DIRandCODEBUDDY_CREDENTIALS_DIRdirectories, never the developer's existing credentials or storage.Test Size and Coverage
Verification
bun run lintbun run format:checkbun run typecheckbun run test:coveragebun run test:cibun run test:patch-branches --base "$(git merge-base HEAD origin/main)"bun run test:e2e(104 passed)bun run buildThe production build passes; Turbopack reports only the existing dynamic filesystem access warnings.