Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
This PR consolidates
start-client
flake app intostart-server
, and then usesstart-server
in themakeCheckHarness
nix flake check, and in that flake check, brings in the rest of the migrations and config to match our AMI set up as closely as possible. start-client now just wrapspsql
for the version of postgres we're running.start-server
inherits the--migration-file
capability, and has an optional--skip-migrations
In addition, this PR refactors start-server to start/stop postgres with https://github.com/DarthSim/overmind so that managing the running service in foreground, background, etc is simpler. The script handles all interaction with overmind, so the
nix run
commands are unchanged other than the new flags.This PR will remain in DRAFT mode until the flake checks pass.