ci: fix test DATABASE_URL password to match postgres service #127

Merged
fastie81 merged 1 commit from ci/fix-test-db-password into main 2026-09-05 20:38:16 +12:00
Owner

Fix

Sets the CI test job's DATABASE_URL password to postgres to match the services.postgres container (POSTGRES_PASSWORD: postgres).

Why

Job 236 (test) failed at Run database migrations:
psycopg2.OperationalError: FATAL: password authentication failed for user "postgres"

The committed DATABASE_URL carried a placeholder password while the postgres service initializes with postgres. lint-frontend passes (no DB); test fails at DB connect.

Validation

  • Local repro (Postgres + venv, exact CI commands): migrations OK, 400/400 tests pass.
  • CI re-runs test on this branch.
## Fix Sets the CI `test` job's `DATABASE_URL` password to `postgres` to match the `services.postgres` container (`POSTGRES_PASSWORD: postgres`). ## Why Job 236 (`test`) failed at **Run database migrations**: `psycopg2.OperationalError: FATAL: password authentication failed for user "postgres"` The committed `DATABASE_URL` carried a placeholder password while the postgres service initializes with `postgres`. `lint-frontend` passes (no DB); `test` fails at DB connect. ## Validation - Local repro (Postgres + venv, exact CI commands): migrations OK, 400/400 tests pass. - CI re-runs `test` on this branch.
ci: fix test DATABASE_URL password to match postgres service (auth failure)
Some checks failed
CI / test (push) Successful in 2m25s
CI / test (pull_request) Successful in 2m7s
CI / lint-frontend (pull_request) Successful in 2m4s
CI / lint-frontend (push) Successful in 3m45s
CI / build-release (push) Has been skipped
CI / build-test (push) Successful in 2m31s
CI / build-release (pull_request) Has been skipped
CI / deploy-prod (push) Has been skipped
CI / build-test (pull_request) Failing after 1m44s
CI / deploy-test (pull_request) Has been skipped
CI / deploy-test (push) Has been skipped
CI / deploy-prod (pull_request) Has been skipped
2d7650e3a2
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fastie81/honbu-manager!127
No description provided.