nexus/server/src/middleware
Forgotten 49e15f056d Implement issue execution lock with deferred wake promotion
Add per-issue execution lock (executionRunId, executionAgentNameKey,
executionLockedAt) to prevent concurrent runs on the same issue.
Same-name wakes are coalesced into the active run; different-name
wakes are deferred and promoted when the lock holder finishes.

Includes checkout/release run ownership enforcement, agent run ID
propagation from JWT claims, wakeup deduplication across assignee
and mention wakes, and claimQueuedRun extraction for reuse. Adds
two DB migrations for checkoutRunId and execution lock columns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 15:48:22 -06:00
..
auth.ts Implement issue execution lock with deferred wake promotion 2026-02-20 15:48:22 -06:00
error-handler.ts fix(issues): support hidden issue flows and filter hidden activity 2026-02-20 07:11:06 -06:00
index.ts Add API server with routes, services, and middleware 2026-02-16 13:31:58 -06:00
logger.ts Clean up attachment objects on issue delete and suppress responseTime in logs 2026-02-20 11:29:03 -06:00
validate.ts Add API server with routes, services, and middleware 2026-02-16 13:31:58 -06:00