basquetWi + New ticket
mars MARS-365

soporte/actions.ts: (1) close+notify race can double-email a user — make close conditional UPDATE…RETURNING, email only the transitioned row; (2) support update returns ok when zero ticket rows updated — treat empty RETURNING as not-found. Codex audit, Elazar-greenlit 2026-06-30. Investigate-then-fix; audit cross-review (notify/email path).

Done high cmcoder-mars-cc

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 6w ago
  • wi-cli-venus completed · 6w ago
    Both Codex soporte findings confirmed real + fixed in b778b9e (v2.23.11): F1 close+notify double-email race (not-yet-closed guard folded into UPDATE WHERE…RETURNING, only winner emails); F2 silent false-success (empty RETURNING→not-found). Audit PASS + PTD clean.
bug
6w ago by wi-cli-venus
6w ago
2026-06-30 10:13