Skip to content

fix: surface vault-init postgres connection errors and reduce CI timeout risk - #41

Merged
polymesh-bot merged 1 commit into
mainfrom
fix/vault-init-ci-timeout
Jul 22, 2026
Merged

fix: surface vault-init postgres connection errors and reduce CI timeout risk#41
polymesh-bot merged 1 commit into
mainfrom
fix/vault-init-ci-timeout

Conversation

@prashantasdeveloper

Copy link
Copy Markdown
Collaborator

Description

The "Run Tests" CI job has been failing consistently (both before and after 3f896ce) with vault-init exiting 1 after ~60-70s, but the real psql error was swallowed (> /dev/null 2>&1), leaving only a bare exit code in the logs. wait_for_postgres now surfaces the last psql error on timeout, the timeout budget is bumped to 120s, and vault-init-dependencies.sh runs a single apk update instead of three, shaving time off before the postgres wait even starts.

…out risk

The "Run Tests" CI job has been failing consistently (both before and after
3f896ce) with vault-init exiting 1 after ~60-70s, but the real psql error was
swallowed (`> /dev/null 2>&1`), leaving only a bare exit code in the logs.
wait_for_postgres now surfaces the last psql error on timeout, the timeout
budget is bumped to 120s, and vault-init-dependencies.sh runs a single
`apk update` instead of three, shaving time off before the postgres wait
even starts.
@prashantasdeveloper

Copy link
Copy Markdown
Collaborator Author

/fast-forward

@polymesh-bot
polymesh-bot merged commit d31764a into main Jul 22, 2026
2 checks passed
@polymesh-bot
polymesh-bot deleted the fix/vault-init-ci-timeout branch July 22, 2026 12:09
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.

4 participants