model-writtenrun 5170 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera reported that interrupting headerscheck removed its temporary directory without stopping execution, causing noisy errors, and supplied a demonstration patch while proposing equivalent fixes across shell scripts #1.
- Tom Lane supported the fix and recommended separating cleanup from exit with a semicolon so cleanup failure could not prevent termination #2.
- Peter Geoghegan suggested running ShellCheck to identify further shell-script problems, but reported no testing results #3.
- Alvaro committed an expanded version of the demonstration patch #1 as 3d53b9ef1a, updating five scripts, adopting unconditional exit after cleanup, changing trap quoting, and correcting two indentation lines.
- The thread ended with Peter's tooling suggestion #3; the subsequent commit described the fix as mostly cosmetic and explicitly declined backpatching 3d53b9ef1a.