Skip to content

Conversation

@burmecia
Copy link
Member

@burmecia burmecia commented Nov 25, 2025

What kind of change does this PR introduce?

  • upgrade wrappers from v0.5.6 to v0.5.7

Additional context

Add any other context or screenshots.

Action Items

  • New extension releases were Checked for any breaking changes
  • Extensions compatibility Checked
  • Backup and Restore Checked
    • Proceed to backup testing while extensions are enabled
      • After every restore, re-run the tests specified at point 3.1

Extensions compatibility testing

  1. Enable every extension
    1. Check Postgres’ log output for any error messages while doing so
      1. This might unearth incompatibilities due to unsupported internal functions, missing libraries, or missing permissions
  2. Disable every extension
    1. Check Postgres’ log output for any cleanup-related error messages
  3. Re-enable each extension
    1. Run basic tests against the features they offer, e.g.:
      1. pg_net - execute HTTP requests
      2. pg_graphql - execute queries and mutations
      3. …to be filled in

Backup Testing

Follow the testing steps steps for all the following cases:

  • Pause on new Postgres version, restore on new Postgres version
  • Pause on older Postgres version, restore on new Postgres version
  • Run a single-file backup backup, restore the backup

Testing steps

  1. Generate dummy data
    • the ‘Countries’ or ‘Slack clone’ SQL editor snippets are decent datasets to work with, albeit limited
  2. Save a db stats snapshot file
    • Do this by running supa db-stats gather -p <project_ref>
  3. Backup the database, through pausing the project, or otherwise
  4. Restore the backup, through unpausing the project or cli
  5. Check the data has been recovered successfully
    1. Visual checks/navigating through the tables works
    2. Run supa db-stats verify against the project and the previously saved file

@samrose samrose force-pushed the bo/chore/wrappers-0-5-7 branch from beff06c to 46683cc Compare November 25, 2025 20:29
burmecia and others added 5 commits November 26, 2025 21:49
Updating the dependency helping us build all our rust extensions has put
a lot of pressure on our CI runners, causing timeouts and failed builds.

We are currently working on a more permanent solution in #1745 but in
the meantime, we cap the number of parallel nix builds to 2, which
should reduce the load on our CI runners.
@jfroche jfroche force-pushed the bo/chore/wrappers-0-5-7 branch from df0c652 to 16f1516 Compare November 26, 2025 20:53
@jfroche jfroche self-assigned this Nov 26, 2025
pg_regress tests always test the latest update of our extensions. 
Add the wrappers renamed types to the expected output files.
We have reduced the pressure on CI runner, now the build process is timing out after 3h.
By increasing the parallelism from 2 to 4, we can better utilize the available resources and speed up the build process without overwhelming the system like before.
Copying built artifacts to S3 should be done by nix-fast-build itself
while building instead of relying on nix-daemon's post-build hooks and
the end of the build.
@jfroche jfroche force-pushed the bo/chore/wrappers-0-5-7 branch from bf7832c to 351eda4 Compare November 27, 2025 13:38
@jfroche jfroche force-pushed the bo/chore/wrappers-0-5-7 branch 2 times, most recently from 8e9836e to 351eda4 Compare November 27, 2025 16:13
@jfroche jfroche marked this pull request as ready for review November 27, 2025 17:30
@jfroche jfroche requested review from a team as code owners November 27, 2025 17:30
@samrose samrose enabled auto-merge November 27, 2025 17:35
@samrose samrose added this pull request to the merge queue Nov 27, 2025
Merged via the queue into develop with commit 75c8517 Nov 27, 2025
14 checks passed
@samrose samrose deleted the bo/chore/wrappers-0-5-7 branch November 27, 2025 19:32
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