Skip to content

Conversation

samrose
Copy link
Collaborator

@samrose samrose commented Jan 7, 2025

What kind of change does this PR introduce?

This PR consolidates start-client flake app into start-server, and then uses start-server in the makeCheckHarness 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 wraps psql 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.

@samrose samrose requested a review from olirice January 7, 2025 00:32
@samrose samrose marked this pull request as ready for review January 11, 2025 02:48
@samrose samrose requested a review from a team as a code owner January 11, 2025 02:48
@samrose
Copy link
Collaborator Author

samrose commented Jan 14, 2025

This pr deprecates pg 16 for now as well

@samrose samrose merged commit f9bb095 into develop Jan 14, 2025
10 checks passed
@samrose samrose deleted the sam/oriole17-flake-check branch January 14, 2025 20:54
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
* chore: WIP check harness

* chore: consolidate start-server/start-client

* chore: consolidate start-server, start-client and check harness

* chore: rm dup cleanup

* chore: do not run pg with overmin, just pg_ctl in daemon mode

* chore: deprecate x86_64-darwin and run check on oriole17

* wip toward fixing for all systems

* chore: refactoring to create reusable makePostgresDevSetup

* chore: tweaks to run-server.sh.in top account for oriole on macos

* chore: remove x86_64-darwin support

* Isolate failing tests on pg17 and OrioleDB (supabase#1402)

* separate pg17 and oriole test diffs

* ignore minor diffs in float value

* update pgmq after-create script for pg 17

* all tests fixed except interface

* sync tests

* move postgis_tiger_geocoder to ext_interface

* align pg 17 extension interface tests

* chore: getting pg tap tests and pg_regress tests to run for pg_15 and oriole 17

* chore: do not build or cache pg 16 for now

* chore: wip running pgtap and pgreress tests + rm pg 16 for now

* chore: fix tests to account for architecture differences3

* chore: deactivate tests and builds for pg 16

* chore: will pull pg 16 from vars in future pr

* chore: update to unit test in ansible build include pg_grapqhl and pg_jsonschema
for orioledb

* chore: also include pgrouting and postgis in orioledb test

* chore: tmp deactivate postgis on this test

* chore: rm from list of exts in test too

* chore: was missing KEY_FILE var in script

* chore: deprecate 16 from versions

---------

Co-authored-by: Oliver Rice <[email protected]>
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.

3 participants