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

raystack / frontier / 26089607399
42%
main: 42%

Build:
Build:
LAST BUILD BRANCH: fix/serviceuser-delete-identity-link-cleanup
DEFAULT BRANCH: main
Ran 19 May 2026 09:54AM UTC
Jobs 1
Files 276
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

19 May 2026 09:49AM UTC coverage: 42.379% (+0.04%) from 42.34%
26089607399

Pull #1624

github

whoAbhishekSah
fix(authz): symmetric SpiceDB cleanup on policy delete

policy.AssignRole writes three tuples per policy but policy.Delete and
DeleteWithMinRoleGuard only swept the two where the rolebinding is the
Object (role_bearer, role). The resource-grant tuple — where the
rolebinding is the Subject — leaked on every per-member removal,
ownership swap, or cross-resource principal cleanup.

Add a second relation.Delete keyed by Subject on both delete paths via
a shared helper. The Subject-side delete tolerates relation.ErrNotExist
so resource-level wildcard sweeps in group.DeleteModel /
project.DeleteModel (which currently paper over the bug at full-resource
teardown) don't cause failures during the overlap period; those sweeps
become redundant for this tuple and can be removed in a follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #1624: fix(authz): symmetric SpiceDB cleanup on policy delete

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

15987 of 37724 relevant lines covered (42.38%)

11.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26089607399.1 19 May 2026 09:54AM UTC 276
42.38
GitHub Action Run
Source Files on build 26089607399
  • Tree
  • List 276
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1624
  • PR Base - main (#26017702774)
  • 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