The benchmark restructuring in #3047 surfaced three product defects. None was fixed there.
- The work tail wedges a CPU after
work_adjudicate_leak runs.
- A cancel that lands before
mark_running leaves the attempt parked instead of cancelled.
worktree_cleanup_inspect returns markdown where callers expect JSON.
Details are in the #3047 description and benchmark notes. Each needs a reproduction test before the fix.
The benchmark restructuring in #3047 surfaced three product defects. None was fixed there.
work_adjudicate_leakruns.mark_runningleaves the attempt parked instead of cancelled.worktree_cleanup_inspectreturns markdown where callers expect JSON.Details are in the #3047 description and benchmark notes. Each needs a reproduction test before the fix.