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

supabase / supautils / 29598237239
91%

Build:
DEFAULT BRANCH: master
Ran 17 Jul 2026 04:59PM 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

17 Jul 2026 04:58PM UTC coverage: 90.709% (+0.008%) from 90.701%
29598237239

push

github

web-flow
fix: segfault on GRANT/REVOKE role with current_user/session_user/public grantee (#205)

* fix: segfault on GRANT/REVOKE role with current_user/session_user/public grantee

The T_GrantRoleStmt handler cast stmt->grantee_roles cells to AccessPriv,
but the grammar builds that list from role_list, which produces RoleSpec
nodes. The two structs happen to place priv_name and rolename at the same
offset, so named grantees accidentally worked; for special role specs
(CURRENT_USER, CURRENT_ROLE, SESSION_USER, PUBLIC) rolename is NULL and
is_reserved_role crashed on strcmp(NULL, ...).

Resolve grantees with get_rolespec_name like the ALTER ROLE paths do. This
also closes the gap where a reserved role could grant to itself via
current_user, and makes GRANT ... TO public error identically to vanilla
Postgres.

Also replace all remaining raw casts of list cells holding parse nodes
with lfirst_node so the cassert builds used in CI verify node types.

Reported in SU-419080.

* chore: format

13 of 13 new or added lines in 3 files covered. (100.0%)

1152 of 1270 relevant lines covered (90.71%)

50.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29598237239.1 17 Jul 2026 04:59PM UTC 10
90.71
GitHub Action Run
Source Files on build 29598237239
  • Tree
  • List 10
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29598237239
  • d8167fe4 on github
  • Prev Build on master (#26853496069)
  • 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