multica/server/pkg/db
LinYushen a80d61f8e1
fix(task): enforce per-issue serial execution in task claiming (#330)
Add NOT EXISTS check to ClaimAgentTask SQL to prevent claiming a queued
task when the same issue already has a dispatched/running task. This
ensures serial execution within an issue while preserving parallel
execution across different issues (concurrency group pattern).

Also add defensive guard in the frontend task:dispatch handler to avoid
replacing an active task's LiveLog timeline mid-execution.

Closes MUL-183

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 14:12:00 +08:00
..
generated fix(task): enforce per-issue serial execution in task claiming (#330) 2026-04-02 14:12:00 +08:00
queries fix(task): enforce per-issue serial execution in task claiming (#330) 2026-04-02 14:12:00 +08:00