Skip to content

Fix dev setup Postgres migration detection#116

Merged
wesbillman merged 1 commit intomainfrom
fix/dev-setup-pgschema-env
Mar 19, 2026
Merged

Fix dev setup Postgres migration detection#116
wesbillman merged 1 commit intomainfrom
fix/dev-setup-pgschema-env

Conversation

@wesbillman
Copy link
Collaborator

Summary

  • load .env before running pgschema and fall back to the repo default Postgres env vars
  • only retry migrations while Postgres itself is not yet accepting connections
  • surface the real pgschema error output and print the resolved connection values in the success banner

Testing

  • bash -n scripts/dev-setup.sh
  • pre-commit: desktop-check, cargo fmt --check
  • pre-push: desktop-check, desktop-build, cargo check --manifest-path desktop/src-tauri/Cargo.toml, cargo clippy --workspace --all-targets -- -D warnings, ./scripts/run-tests.sh unit

@wesbillman wesbillman merged commit d074a40 into main Mar 19, 2026
8 checks passed
@wesbillman wesbillman deleted the fix/dev-setup-pgschema-env branch March 19, 2026 16:58
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.

2 participants