Commit Graph
3 Commits
Author SHA1 Message Date
DumiFlex 03649cd1be fix(cascade): restore transaction boundary + propagate not-found + handle combine var rename opt-out
- Remove conn.commit() from write_undo_entry (caller's with conn: block owns commit)
- Remove conn.commit() from _restore_category raw INSERT path (same reason)
- Convert undo_cascade to with conn: pattern; drop explicit commit/rollback
- Remove broad except-swallow from _delete_target; let XNotFound propagate to error envelope
- Add combine_output_var opt-out branch that updates payload.output_var, not name field
- Move new_name validation guards above with conn: in cascade-on path
- Add regression tests: delete-not-found returns error; combine opt-out rename updates payload
2026-05-24 02:49:11 +03:00
DumiFlex bfb4e9138b fix(cascade): filter None kwargs from restore repo.update calls 2026-05-24 02:24:33 +03:00
DumiFlex 8dbe91e8c3 feat(cascade): undo persistence + atomic restore 2026-05-24 02:14:26 +03:00