model-writtenrun 1022 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zhijie Hou proposed forcing statistics reports when parallel apply workers time out while outside a transaction, matching regular logical apply workers, and supplied a TAP test demonstrating delayed reporting in #1.
- Hou corrected the test setup in #2 by allowing another logical replication worker, relying on the existing parallel-streaming default, and restoring buffered streaming after the test; the implementation stayed unchanged.
- Amit Kapila approved the fix and recommended backpatching in #3.
- Chao Li suggested making the timeout check an else-if in #4; Hou preferred the existing independent bit-flag checks for consistency in #5, and Chao explained why timeout events are exclusive but treated the optimization as nonessential in #6.
- Amit Kapila committed the implementation from #2 as d052f6c7d9, retaining the independent timeout check and omitting the separate demonstration test without a stated reason; the commit specifies backpatching through PostgreSQL 16.
- Kapila announced the push in the final message, #7, leaving the implementation landed with no further discussion of the omitted test.