model-writtenrun 658 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Anthonin Bonnefoy reported that tracing still treated variable-length cancellation keys as four-byte integers and submitted a fix alongside PGTRACE options and startup/cancellation trace tests in #1.
- Heikki Linnakangas committed only the initial tracing fix as b22b619056, deriving key lengths from the messages instead of connection state, and confirmed the commit and backpatches in #2.
- In #2, Heikki also reported missing PQcancel tracing, suggested enabling PQtrace earlier through PQconnectStart, questioned the pipeline-specific test-module name, and recommended hexadecimal output for binary keys.
- Anthonin retained PGTRACE to support tracing in psql and other libpq applications, proposed renaming the test module to test_libpq, and left signal-safe PQcancel tracing out because it required awkward deferred tracing logic while removal of PQcancel calls was being discussed elsewhere, as explained in #3.
- The revised remainder in #3 adds hexadecimal keys, separates regression masking, buffers trace lines, and shares the original connection's trace stream with cancellation connections, replacing the append-mode approach that could truncate active traces.
- At #3, the original length fix had landed, while six follow-up patches remained proposed; the shared-stream approach assumes the original connection outlives its cancellation connection, and the test-module rename remained an open question.