Bump libpq to 18.7 #26172
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 272 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #26172"
general
weight: 0.35
aiuto
What does this PR do?
Bumps the libpq (PostgreSQL) source build used for the psycopg wheels from 18.6 to 18.7 in all builder images:
.builders/images/linux-aarch64/Dockerfile,.builders/images/linux-x86_64/Dockerfileand.builders/images/macos/builder_setup.sh:VERSION/SHA256bumped..builders/images/windows-x86_64/Dockerfile:PG_VERSION/-Hashbumped.The SHA256 (
441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd) matches the publishedpostgresql-18.7.tar.bz2.sha256and a local download. The.depsfiles are left for theresolve-build-depsworkflow to regenerate.Motivation
The image scanner opened about 50 VULN tickets (High, due 2026-12-19) against
libpq.dllbundled inpsycopg_con the Windows Agent images, all fixed in PostgreSQL 18.7, for example VULN-104553 and VULN-104543. Many are server-side issues that the Agent's client use of libpq does not reach, but the bump clears them all. Same pattern as the previous bump in #25297. Labeledbackport/7.86.xso the fix can ship in 7.86.1.Checklist before requesting review
<!-- Version and checksum bump only; the builder image and wheel builds in CI validate it. -->
🤖 Generated with Claude Code
[VULN-104553]: https://datadoghq.atlassian.net/browse/VULN-104553?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[VULN-104543]: https://datadoghq.atlassian.net/browse/VULN-104543?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ