model-writtenrun 4567 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sami Imseih proposed a kind-specific statistics-drop API in #1 so callers could scan only the relevant hash, while filtering other kinds out of shared hashes before invoking callbacks.
- Bertrand Drouvot found that the tests neither enforced filtering before callbacks nor preserved existing single-entry-drop coverage in #2; Sami addressed both issues and checked that unrelated relation statistics survived in #3.
- Michael Paquier proposed extending the existing API instead of adding two helpers in #4; Sami adopted that design in #5, accepting the API change for master while retaining the inner kind check needed for shared hashes.
- Michael suggested selecting the hash array and count before the loop in #6, which Sami implemented in #7; Bertrand then identified lost all-kinds callback coverage and suggested an explicit all-kinds sentinel in #9, both added in #10.
- Michael rejected the extra sentinel and dedicated NULL-callback coverage as unnecessary in #11, and supplied a smaller standalone patch restoring the missing callback test before proceeding with the main change.
- Bertrand approved the standalone test and opposed backpatching in #12; Sami agreed and combined Michael's test patch with the revised API patch in #13, restoring PGSTAT_KIND_INVALID and dropping the extra NULL-callback tests.
- Bertrand approved the two-patch series in #14, requesting only clearer comments above the test callbacks.
- Michael committed the test portion of #13 as 8e225d2ac5, with formatting and commit-message edits, and announced it in #15; the small coverage gap was deliberately left unbackpatched.
- Sami submitted the remaining API patch with expanded comments in #17, and Michael committed it with light comment and formatting edits as 31f89191ff, confirming completion in #18; both parts had landed by the thread's end.