Finding / pi-coding-agent

2026-10-13-pi-coding-agent-bun-codemode-cancellation-and-a-two-worker-limit-are-repaired-only-on-main

Bun codemode cancellation and a two-worker limit are repaired only on main. On Bun, stopping codemode or reaching a deadline could wait for a non-interruptible built-in to return. Main makes the caller return promptly and limits live workers to two across sessions, counting canceled workers until they actually exit. It does not make every built-in interruptible.

Channel: main-unreleased. Half: defect. Date: 2026-10-13.

Operator consequence: Treat repeated codemode aborts/timeouts as a responsiveness and resource concern on 1.2.0, especially standalone Bun builds. Watch for a containing release; distinguish a returned cancellation from the worker actually stopping.

Receipt

Finding metadata

Run: 2026-10-13-profile-refresh-2026-09-21_2026-10-13-frontier-v0

Finding ID: 2026-10-13-pi-coding-agent-bun-codemode-cancellation-and-a-two-worker-limit-are-repaired-only-on-main

Profile citations

Source links

Primary links, including exact changelog lines when available.