Daily coverage pass for residual high-risk seams that are not already claimed by open PRs #298–#308. The only new production merge since yesterday is #309 (semantic transcript copy), which already shipped core tests; this PR covers leftover parse/copy edges plus older untested fail-closed paths.
unreachable catalog entry, a missing provider, or a non-Error catalog throw must block ready and emit the correct repair action instead of letting turn/start proceed.newThread while createOneOffChatWorkspace is in flight, or failing workspace-server start after the one-off record exists, must trash the chat directory and leave no workspace/thread behind.. / .. names stay literal; leading whitespace still parses as a canvas envelope.test/creation-preflight.provider-reachability.test.ts (added)apps/desktop/test/control-socket-bootstrap-rerun.test.ts (added)apps/desktop/test/new-thread-oneoff-abort.test.ts (added)apps/desktop/test/feed-message-parsing-edges.test.ts (added)apps/desktop/test/composer-draft-thread-switch.test.ts (updated: Date.now()-relative prune fixtures so persistence re-prune stays inside the 30-day max age)These are fail-closed / cleanup / parse paths with a large blast radius: a false ready starts a turn against a dead provider; a skipped bootstrap rerun leaves stale provider/MCP/session state after a cold-start reconnect; a missed trashPath leaks one-off chat dirs under ~/.cowork/chats; a copy-path regression pastes raw canvas XML or attachment serialization into the clipboard. Dedicated new files avoid overlapping the hot suites already claimed by #298–#308.
bun run typecheck, bun run lint, bun run docs:check cleanbun run test: the only failure on main fixtures was the aged composer-draft prune test; after the Date.now() unflake that file is green. The rest of the suite had already completed with no other failures.!ready (still needs #298 helper on main)reconnectThreadWithFeedback 15s timeout (slow without a test hook; #308 covers cannot-start + chat-removed)Sign in to comment.
Update README.md
#125 mobile-fixes ← main
Updated 2 months ago
test: cover preflight reachability, bootstrap rerun, and one-off abort
#310 main ← cursor/missing-test-coverage-c4eb
Updated 3 hours ago