multica/server/internal
Jiayuan b112d1f1ae feat(tasks): add coalescing queue and task lifecycle guards
- Coalescing queue: use HasPendingTaskForIssue (queued/dispatched only)
  instead of HasActiveTaskForIssue so comments during a running task
  enqueue exactly one follow-up task that picks up all new comments.
- Stale task cleanup: runtime sweeper now fails orphaned tasks when
  their runtime goes offline (daemon crash/network partition).
- Cancel-aware daemon: handleTask checks task status after execution
  and discards results if the task was cancelled mid-run (e.g. reassign).
- Terminal issue guard: ClaimTaskForRuntime auto-cancels pending tasks
  for done/cancelled issues instead of executing them.
- Race condition safety net: unique partial index ensures at most one
  pending task per issue at the DB level.
2026-03-29 17:52:35 +08:00
..
auth feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
cli fix: resolve merge conflict in login page, adopt main's CLI auth flow 2026-03-26 17:42:55 +08:00
daemon feat(tasks): add coalescing queue and task lifecycle guards 2026-03-29 17:52:35 +08:00
events feat(realtime): WS invalidation + refetch pattern, inbox bugfixes, UI polish 2026-03-29 13:49:40 +08:00
handler feat(tasks): add coalescing queue and task lifecycle guards 2026-03-29 17:52:35 +08:00
logger feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
middleware feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
realtime feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
service feat(tasks): add coalescing queue and task lifecycle guards 2026-03-29 17:52:35 +08:00
util feat(server): add task service layer and daemon REST protocol 2026-03-23 18:34:51 +08:00