Files
coder/.github
Spike Curtis 1eef77dc78 ci(.github/actions/test-go-pg): upload postgres logs on failure (#29217)
Extends the PostgreSQL log capture (added in the `gen` job) to all `pg-*` CI jobs (`test-go-pg`, `test-go-pg-17`, `test-go-race-pg`). Since these jobs share the `./.github/actions/test-go-pg` composite action, the collect and upload steps are added there once, on the Linux path that runs the Docker postgres container (Windows/macOS use embedded postgres).

On failure, the steps run `make test-postgres-docker-logs` and upload the output as a per-job `postgres-logs-<job>` artifact. `POSTGRES_VERSION` is passed through so the target reads logs from the correct container (e.g. postgres 13 for `test-go-pg`).

<sub>Opened by Coder Agents on behalf of @spikecurtis.</sub>
2026-09-14 10:22:19 +02:00
..