model-writtenrun 490 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported an intermittent replication-slot test failure in December 2024 and reproduced how a checkpoint begun before a WAL switch could cause the subsequent checkpoint needed for slot invalidation to be skipped as idle #1.
- After another buildfarm failure in August 2026, Hayato Kuroda revived the thread with a patch that explicitly runs CHECKPOINT in a background psql session after advancing WAL and raises max_wal_size to avoid competing automatic checkpoints #2.
- Alexander Lakhin confirmed that the background checkpoint eliminated the failure but questioned the larger max_wal_size; Hayato consequently removed both unnecessary WAL-size overrides while retaining the explicit checkpoint #3 #4.
- Fujii Masao approved the test changes and supplied a revision with clearer comments and a completed commit message; Hayato approved it while noting that his reproducer had not triggered the failure on PostgreSQL 17 or older, although those branches could theoretically be affected #5 #6.
- Fujii Masao committed the final attached revision unchanged as 2a25432337 and announced backpatching through PostgreSQL 14 #5 #7.
- The thread closed with the fix landed and Hayato reporting no similar new buildfarm failures, while recommending continued observation #8.