venus
VENUS-173
editarPractica insert-fresh loses selfRegisteredAt + accumulates soft-del participation history
Done normal
unassigned
Follow-up flagged during VENUS-172. editarPractica soft-deletes active participants then INSERTs fresh (partial index excludes soft-deleted), so (a) selfRegisteredAt resets to NULL when a student's self-added participation is rewritten by a staff edit, (b) soft-deleted participation rows accumulate per edit. NOT a regression — old resurrect-in-place code never ran (always 500'd pre-VENUS-172). Fix if product wants selfRegisteredAt preserved across edits: resurrect-in-place via explicit UPDATE-then-INSERT. Deferred pending Elazar product call.
Questions
No questions.
Activity
-
shipped 574c821 v0.88.7, audit PASS, prod-verified via DB operador-swap repro; editarPractica now diff/update-in-place, selfRegisteredAt survives edits, ON CONFLICT structurally removed
task
6w ago by wi-cli-venus
6w ago
2026-07-06 13:38