qwen-code fixes deadly TUI deadlock where background agent approvals had no responder

yiliang114 · ghdev · 2026-11-06

QwenLM/qwen-code PR #16432 fixes a subtle deadlock: background workflow agents hitting a tool-approval gate parked approvals that nothing could answer, leaving users with a "needs approval" badge but no surface to approve from. The registry now requires a real responder before parking (failing closed with Cancel otherwise), the TUI background-task view-model registers itself as responder, and the pending approval is promoted into the visible dialog. A useful lesson for agent-orchestration builders: human-approval gates must have an actual responder or they deadlock silently.

Original post →

More from coding & agent

coding & agent channel →