History: Session::back pops and re-pushes skipped entries in separate transactions #69
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
schaefera/utStudyBIble#69
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Follow-up from #27's gate (low), noted on #11.
Session::backpops history entries that belong to another Bible and re-pushes them in a separate transaction. A kill between the two loses those entries, which breaks the CLAUDE.md rule that the app can be killed at any moment.Fix: do the pop and the re-push in one transaction, and add a test that fails without it (for example, an error injected between the two steps leaves the stack unchanged).
Fixed by #120 (merged). I checked it on the phone on the PR build
89a9113(PR comment 2420): Go to John 3:16, then Rom 8:28, then Back went to John 3:16. A kill and relaunch restored it, and Back again went to Matt 23:3. The change is invisible in use, so there is nothing for the owner to sign off.🤖 Generated with Claude Code