• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supautils / 29938831770
92%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2026 04:38PM UTC
Jobs 1
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jul 2026 04:37PM UTC coverage: 91.563% (+0.9%) from 90.709%
29938831770

push

github

web-flow
feat: gate version restriction behind supautils.restrict_extension_versions

Adds an enum GUC (default 'off', PGC_SUSET) controlling the CREATE/ALTER EXTENSION version restriction:

- off:   no restriction (default), existing deployments unaffected
- warn:  the specified version is ignored with a WARNING and the
         extension's default_version is used instead
- error: the statement is rejected

The warn mode allows a graceful rollout: statements keep working while
the warnings measure how many clients actually specify versions, before
switching the fleet to error.

Also reworks restrict_version_specification() per review:
- takes extension_stmt_kind (same discriminator as override_ext_options)
  instead of a stringly-typed stmt_type
- returns the options list, stripping every new_version DefElem in warn
  mode (all occurrences, so duplicate VERSION clauses can't slip through)

Tests cover all three modes on both the privileged and non-privileged
extension paths, plus GUC validation, and pass on PG 13-18.

20 of 22 new or added lines in 1 file covered. (90.91%)

38 existing lines in 1 file now uncovered.

1183 of 1292 relevant lines covered (91.56%)

55.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.81
1.7% src/supautils.c

Coverage Regressions

Lines Coverage ∆ File
38
93.81
1.7% src/supautils.c
Jobs
ID Job ID Ran Files Coverage
1 29938831770.1 22 Jul 2026 04:38PM UTC 10
91.56
GitHub Action Run
Source Files on build 29938831770
  • Tree
  • List 10
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29938831770
  • 5650d790 on github
  • Prev Build on master (#29598237239)
  • Next Build on master (#29995099107)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc