Skip to content

Stop native Postgres between runtime flows - #43

Merged
AntoineToussaint merged 1 commit into
mainfrom
codex/stop-native-postgres-runtime
Aug 5, 2026
Merged

Stop native Postgres between runtime flows#43
AntoineToussaint merged 1 commit into
mainfrom
codex/stop-native-postgres-runtime

Conversation

@AntoineToussaint

Copy link
Copy Markdown
Contributor

Stop now terminates the Nix-hosted Postgres process while preserving its persistent data directory. This releases the assigned port and data lock between validation and CI phases, so the next Runtime.Init can reuse the cluster instead of colliding with an orphaned postmaster.

Docker retains its existing persistent-container behavior.

Regression evidence:

  • codefly test source --target ./... --timeout 10m: 173/173
  • codefly agent build: packaged and installed postgres 0.0.117
  • codefly agent ci: 6/6, including the repeated generated-service lint/compile/test conformance sequence that previously failed with a live postmaster lock/port collision

@AntoineToussaint
AntoineToussaint merged commit c7545e2 into main Aug 5, 2026
2 checks passed
@AntoineToussaint
AntoineToussaint deleted the codex/stop-native-postgres-runtime branch August 5, 2026 01:37
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