fix(dev-image): pgvector reccomended installs flakes pupeline - #36807
fix(dev-image): pgvector reccomended installs flakes pupeline #36807sfreudenthaler wants to merge 4 commits into
Conversation
The recommends chain pulls networkd-dispatcher/python3-gi whose maintainer scripts fail under the QEMU-emulated arm64 build (dpkg error → apt 100), failing the deployment job and blocking every release since the 2026-07-29 Ubuntu package update. A database container doesn't need the network- management stack; skipping recommends also slims the image. Closes: #36806 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ogYXVeZsBVUHkwzdStYPJ
|
Claude finished @sfreudenthaler's task in 28s —— View job Code ReviewChange: -RUN apt install -y postgresql-$PG_VERSION-pgvector
+RUN apt install -y --no-install-recommends postgresql-$PG_VERSION-pgvectorThis is correct and does exactly what the PR describes. Notes (non-blocking, pre-existing — outside this diff)
VerdictNo issues found. The one-line change is minimal, targeted, and matches the |
…all (#36806) Repo-wide survey: every other apt install in shipped Dockerfiles (java-base, main image, dev-env) already uses the flag — this postgresql-client-16 line was the only remaining outlier, same recommends-chain exposure as the pgvector line that broke the release build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ogYXVeZsBVUHkwzdStYPJ
|
Extended per a repo-wide survey: every apt install in shipped Dockerfiles already used |
|
Scope reduced back to the dev-env pgvector fix only — the pg-base change moves to its own PR (with a client 16→18 bump, per RDS version survey) so backup-image changes get their own review. |
Removed comments explaining the use of --no-install-recommends in Dockerfile.
Every release is currently blocked: the dev-image arm64 (QEMU) build fails on
apt install postgresql-$PG_VERSION-pgvectorbecause the recommends chain drags innetworkd-dispatcher/python3-gi, whose maintainer scripts try to wire systemd-resolved inside the container and die under emulation (newly fatal after a 2026-07-29 Ubuntu noble package update; observed on release run 30495772928 / v26.07.28-01, which then skipped Release, Release-Notes, Promote-latest, and Changelog publish).One flag:
--no-install-recommends— the DB container needs pgvector, not Ubuntu's network-management stack. Also slims the image.Closes: #36806
🤖 Generated with Claude Code
https://claude.ai/code/session_012ogYXVeZsBVUHkwzdStYPJ