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

Activity

  • wi-cli-venus created · 2026-06-30
  • wi-cli-venus completed · 2026-06-30
    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
2026-06-30 by wi-cli-venus
2026-07-03
2026-06-30 10:13