Skip to content

ci: fix pg_isready health check to use -U postgres#1264

Merged
pyramation merged 1 commit into
mainfrom
fix/pg-isready-user
Jun 6, 2026
Merged

ci: fix pg_isready health check to use -U postgres#1264
pyramation merged 1 commit into
mainfrom
fix/pg-isready-user

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

Summary

Docker health checks run as root inside the container. pg_isready without -U defaults to the OS username (root), causing FATAL: role "root" does not exist every 10s in CI logs.

Fix: pg_isreadypg_isready -U postgres in:

  • .github/workflows/run-tests.yaml (2 occurrences — pg-tests and integration-tests jobs)
  • .agents/skills/pgpm/references/ci-cd.md (3 occurrences — skill doc examples)

Link to Devin session: https://app.devin.ai/sessions/0d80c09a68154da68d1524f93741d21f
Requested by: @pyramation

Docker health checks run as root inside the container. pg_isready without
-U defaults to the OS username (root), causing FATAL: role "root" does
not exist every 10s in CI logs.

Fixed in 2 workflow files and 3 skill doc examples.
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@pyramation pyramation merged commit c67835a into main Jun 6, 2026
35 checks passed
@pyramation pyramation deleted the fix/pg-isready-user branch June 6, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant