US04-03: Apply and Verify Guarded Renames #68
Reference in New Issue
Block a user
Delete Branch "us/US04-03-apply-and-verify-guarded-renames"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements #22
Tests:
work_item/scripts/python -m unittest discover -s work_item/tests -vwork_item/scripts/python -m pytest tests -qwork_item/scripts/python -m pytest tests/integration/test_rename_apply.py tests/integration/test_rename_recovery.py -qCommit:
47350132784b332c816c857bf2e7e30da793ff65This PR delivers both US04-03 (#22) and US04-04 (#23) as one change, per the agreed Phase D grouping: apply and recovery are two halves of one crash-safe transaction — recovery reads exactly the journal evidence apply writes, so splitting them would ship a filesystem-mutating apply with no recovery.
Covered here:
Tests: tests/integration/test_rename_apply.py (13) and tests/integration/test_rename_recovery.py (15). Full suite 383 passing.