Test file `z_15_ext_interface.out` is too big and preview doesn't work

Open
#1,545 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
postgresql
Domain
databases, testing

Research direction

Start with nix/tests/expected/z_15_ext_interface.out and compare its extension-specific sections with nix/tests/expected/postgis.out. Identify the postgis, vault, and other extension signature groups, then split them into separate expected files following the existing layout. Done means the signatures remain covered and each resulting file can be previewed on GitHub.

Written by the indexing model from the issue text.

Description

Problem

The nix/tests/expected/z_15_ext_interface.out is too big and doesn't preview on github. This hurts collaboration as one has to search the raw file when reviewing its changes.

roles.out for example does work in previews:

https://github.com/supabase/postgres/blob/67fb756c16711aa5ea8c71f9709df9f11c22c3c8/nix/tests/expected/roles.out#L17-L23

Solution

Split z_15_ext_interface.out into other files. It tests functions signatures of extensions like postgis, vault, etc. Those can go into their own files. We already have postgis.out for example.

Dominant language
Nix
Stars
1.8k
Forks
266
Avg merge
2d 8h
Merged PRs (30d)
25

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/postgres

All issues in supabase/postgres

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.