Repository navigation
ci: wait for the real server, not the init-time one, before the security gates - #20
pyramation wants to merge 1 commit into
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
Review complete. No blocking issues — approved ✅; 1 nitpick below. 🧹 Nitpicks (1) — 🟢 1 low
The change updates
One low-severity note: the Reviewed commit: 32fd3e7 |
|
Closing as superseded: #21 fixed the same readiness race (wait for init completion) and the main build/publish run succeeded afterwards (https://github.com/constructive-io/docker/actions/runs/44198790900). This branch now conflicts with main. |
Summary
The
mainrun for #19 failed its amd64 "Verify PostGIS security (pushed digest)" step withpsql: error: connection to server on socket … failed: No such file or directory, so the manifest job was skipped and:18was not moved to the pgvector 0.8.7 build.Cause: the step waits with
pg_isready -U postgresover the unix socket. The image entrypoint first starts a temporary server forinitdbscripts that listens on the socket only, then stops it and starts the real one. The wait can succeed against the temporary server and the first gate script then connects while nothing is running. This race predates #19 (same wait line; it passed on the PR run and lost on themainrun).Fix: wait with
pg_isready -h 127.0.0.1, which only the real server answers. Observed locally onpostgres-plus:18while starting a container: socket check ready while TCP check still not ready, then both ready.Applied to both the PR and pushed-digest verify steps.
Link to Devin session: https://app.devin.ai/sessions/526ad15103ba4700897c0cf7aa8bbdfc
Open in Devin Desktop: https://app.devin.ai/desktop/session/526ad15103ba4700897c0cf7aa8bbdfc?variant=devin
Requested by: @pyramation
🟢 Devin Review found nothing to fix · View findings