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

supabase / supautils / 25060946321
89%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2026 03:08PM 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

28 Apr 2026 03:07PM UTC coverage: 88.79% (+0.05%) from 88.737%
25060946321

push

github

web-flow
fix: crash in supautils_executor_start

`supautils_executor_start` makes some assumptions about the `ERROR` it is intercepting. Following are addressed:

- Fixed cases where the target object isn't a relation
- Fixed possible cases of trying to free a `NULL` variable
- Fixed possible leak of an old hint (if there were one)

This fixes existing bugs. However it doesn't add the missing functionality for the cases when privileges are missing for functions, schemas etc.

I also want to point out that executor is a very low level API and hooking into it merely to slightly improve user experience seems like an overkill to me. We could consider writing a standalone function to the effect of `check_permissions(objclassid, objid, rolename)` that would perform the same checks as the hook, but won't reside in a critical codepath so any potential bugs won't crash the database.

15 of 15 new or added lines in 1 file covered. (100.0%)

1101 of 1240 relevant lines covered (88.79%)

32.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25060946321.1 28 Apr 2026 03:08PM UTC 10
88.79
GitHub Action Run
Source Files on build 25060946321
  • Tree
  • List 10
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25060946321
  • 64792e14 on github
  • Prev Build on master (#24672940313)
  • Next Build on master (#25097289548)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc