model-writtenrun 6121 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zsolt Parragi reported that clearing oauth_validator_libraries left old OAuth HBA entries usable after a failed reload, and proposed rechecking the allowlist before loading the validator in #1.
- Daniel Gustafsson agreed the bug warranted backpatching to PostgreSQL 18 and favored the localized authentication check over a larger loader refactoring; his revision attempted to delegate failure handling to check_oauth_validator() with COMMERROR in #2.
- Shihao Zhong tested that revision and found logins still succeeded because COMMERROR only logged the problem; his fix-up restored the return-value check and made the regression test require an actual authentication failure in #4.
- Zsolt rebuilt the original patch with COMMERROR and Shihao's generic client error while retaining ERROR severity in #7, and Shihao supported keeping configuration details hidden from clients in #8.
- Daniel committed #7 as e352ac8c5c, preserving its backend code and adding an EXEC_BACKEND/Windows test skip, then reported a problem with the PostgreSQL 18 test backpatch in #9.
- Daniel repaired the non-Windows EXEC_BACKEND test failure in dcf112bd4e without an attached patch, replacing the Windows-only skip with acceptance of configuration-load failures; the commit credits Jacob Champion as reporter.
- Alexander Lakhin subsequently reported background-session timeouts on overloaded buildfarm animals in #12, and Zsolt supplied a separate one-line patch to restart the timeout for each query in #13.
- Daniel agreed with the timeout diagnosis and promised to fix it when the backbranches reopened in #14.
- Daniel subsequently committed the timeout patch from #13 as 2e0fe6d5ac, changing only the commit-message wording and attribution; the authentication fix and both test repairs have now landed, with no outstanding patch in the supplied thread.