model-writtenrun 8892 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro opened #1 after Tomas Vondra reported a parallel worker ignoring SIGTERM, proposing removal of ResetLatch() from ConditionVariablePrepareToSleep() so the next wait loop would handle pending interrupts.
- Shawn Debnath reviewed the proposal in #2, agreeing that the wait code should handle the latch and questioning why preparation reset it.
- Thomas supplied master and stable-branch variants in #3, delaying commitment after identifying a further stable-branch return path that could reset a latch without processing a simultaneously delivered interrupt.
- Thomas committed the master fix as 78aaa0e823, apparently using the master variant from #3; its code exactly matches the original deletion in #1.
- In #4, Thomas confirmed the master landing and deferred the stable-branch patch pending further discussion, maintaining that the stable code was subtly broken.