Adds focused regression coverage for residual high-risk paths that are still untested on main and not claimed by open coverage PRs #298–#304.
expiresAt, completion abandons without token exchange (pending remains; no success event).mcp_server_auth_result ok:false / mode:"error" and clear connecting so later auth is not stuck.authorize / callback / logout / copyApiKey emit busy and skip side effects while a turn is running.cowork/provider/auth/copyApiKey wire gate: missing provider or sourceProvider returns invalidParams before session work.setPerWorkspaceSettings(false) fan-out: switching shared→per-workspace off copies settings into other workspaces and applies defaults to their active threads.test/mcp.auth-flow.test.ts (+ scratchRoots migration / platform-boundary baseline shrink)test/session/agentSession.provider.test.tstest/jsonrpc.routes.review-fixes.test.tsapps/desktop/test/workspace-settings-sync.defaults.test.tsapps/desktop/test/research-readiness.test.tsx, apps/mobile/bun.lock, test/platform-boundary.baseline.jsonThese paths sit on auth completion, busy/permission gating, JSON-RPC validation, and cross-workspace settings propagation. Failures here strand OAuth (single-use codes), leave connecting stuck, accept invalid copy-key requests, or leave other-workspace threads on stale config — all high blast-radius without needing UI snapshots.
bunx biome check on touched filesbun run lint / bun run typecheck / bun run docs:check greenbun run test: all 672 files passed (Bun canary)Cursor Agent and others added 3 commits ·
View commitsOnly the target repository owner can merge this pull request.
Sign in to comment.
Update README.md
#125 mobile-fixes ← main
Updated 2 months ago
test: cover MCP OAuth failures, auth busy gates, and settings fan-out
#305 main ← cursor/missing-test-coverage-2f3c
Updated 19 hours ago