model-writtenrun 5030 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi reported session-exit crashes after failed backup starts and successful backup start/stop sequences, proposing an assertion that permits both cleanup conditions to be false in #1.
- Richard Guo confirmed the diagnosis and suggested clearer comment wording in #2, while Michael Paquier supplied a more readable equivalent assertion and a reproduction sequence in #3.
- Bharath Rupireddy proposed removing the assertion and relying on the cleanup guard in #4; Alvaro Herrera instead proposed moving the original XOR assertion inside that guard in #5.
- Bharath questioned the assertion's necessity in #6 and #8, while Alvaro defended documenting and checking precise cleanup preconditions in #7.
- Kyotaro challenged the claimed additional strictness of the relocated assertion in #9, and Michael argued that placing it inside the guard reduced checking in #10.
- Alvaro accepted Michael's inline proposal and announced additional tests in #11; 8328a15f8f landed that assertion with recovery tests covering failed starts, completed backups, and session exit during a backup.
- Michael acknowledged the committed fix in #12, ending the thread with the bug resolved and the assertion-removal and relocation alternatives superseded.