Adds focused regression coverage for residual high-risk seams on main beyond open coverage PRs #298–#300. No intentional production behavior changes.
send === -1 queuing, non-serializable payload drops (serializationFailures), ws.send throws (sendFailures, no queue), and flush that drops a failing head then continues draining.tool_input_delta never publishes args during input-streaming; late deltas after terminal tools leave outbound/terminal args unchanged.text_end boundary.setModel while busy — mid-turn model switch emits busy and leaves the model unchanged..sandbox does not throw or claim an update.stopReason=aborted with a rate-limit message still retries; lifecycle-only parts remain retryable.response.statusCode, cause-over-lastError, depth-4 chain cap, and maxRetries NaN/Infinity/negative/fractional sanitization..verified.json fail closed on the verify fast path and are rewritten after a successful re-verify.test/server.backpressure.test.tstest/jsonrpc/projectors/assistant-segments.test.tstest/jsonrpc/projectors/tool-reuse.test.tstest/providers/codex-app-server-client.test.tstest/session/agentSession.model.test.tstest/platform/windowsSetupSync.test.tstest/runtime.pi-rate-limit-retry.test.tstest/agent.test.tstest/coworkRuntime.test.tsapps/desktop/test/research-readiness.test.tsx (desktop bridge CI stabilizer)apps/mobile/bun.lock (canary Bun frozen-lockfile stabilizer)These paths sit on shared concurrency, trust, and transport seams: dropped WS frames under send failure, duplicated/stale tool cards from deferred-arg regressions, stuck Codex turns after timeout/exit, mid-turn model corruption, silent Windows DPAPI setup desync, duplicate assistant output from abort/rate-limit mis-gating, and signed-runtime trust caching that must not accept incomplete/foreign attestations.
Deliberately avoids duplicating open #298/#299/#300 seams (integrity mid-verify/mid-hash, MCP collisions, idle eviction, canvas route conflict, Responses history, deferred defaults, etc.).
biome check)bun run lint, bun run typecheck, bun run docs:check cleanbun run test: all 672 files passed (Bun 1.4.0-canary)Cursor Agent and others added 6 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 send-queue, rate-limit abort, and attestation gaps
#301 main ← cursor/missing-test-coverage-deae
Updated 19 hours ago