Skip to content

Add regression coverage for cleanup and connection flows#382

Merged
BunsDev merged 3 commits intomainfrom
okcode/regression-test-coverage
Apr 9, 2026
Merged

Add regression coverage for cleanup and connection flows#382
BunsDev merged 3 commits intomainfrom
okcode/regression-test-coverage

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 9, 2026

Summary

  • Add server-side regression tests for merged worktree cleanup candidate selection, native folder picking, and server readiness sequencing.
  • Add web tests covering merged-thread auto-deletion, connection health polling, reconnect sync invalidation, and native API resolution.
  • Introduce react-test-renderer to support hook-level test coverage in the web app.

Testing

  • Not run (PR content only).
  • Expected checks for this branch: bun fmt
  • Expected checks for this branch: bun lint
  • Expected checks for this branch: bun typecheck

- Cover worktree cleanup candidate selection and native folder picker fallbacks
- Add readiness, connection health, sync, and native API hook tests
- Include `react-test-renderer` for hook-level test coverage
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 9, 2026 8:40pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 9, 2026 8:40pm

- add react test renderer types for the web test suite
- align connection health tests with numeric timestamps and stable listener iteration
- Import `DEFAULT_INTERACTION_MODE` in the draft store test
- Assert project draft thread mapping against the shared default instead of hardcoded `chat`
@BunsDev BunsDev merged commit 88a159d into main Apr 9, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant