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

raystack / frontier / 30243145128
47%
main: 49%

Build:
Build:
LAST BUILD BRANCH: org-delete-check-api
DEFAULT BRANCH: main
Ran 27 Jul 2026 06:38AM UTC
Jobs 1
Files 290
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

27 Jul 2026 06:33AM UTC coverage: 46.909% (+0.02%) from 46.887%
30243145128

Pull #1807

github

whoAbhishekSah
fix(membership): clean custom-resource policies when removing an org member

RemoveOrganizationMember deleted a member's org, project, and group
policies but left their policies on custom resources in the org's
projects untouched. The policy row and its SpiceDB rolebinding tuple
stayed live, so an ex-member kept access to resources inside an org they
had been removed from. Deleting that user later orphaned the policy row.

The cascade now calls resource.RemovePrincipalAccess with the org's
project IDs, after the last-owner guard so a rejected removal changes
nothing. The deleter reaches the same cascade through
ForceRemoveOrganizationMember, so its own call is no longer needed.

Fixes #1801

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #1807: fix(membership): clean custom-resource policies when removing an org member

20 of 21 new or added lines in 2 files covered. (95.24%)

276 existing lines in 3 files now uncovered.

18296 of 39003 relevant lines covered (46.91%)

14.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% cmd/serve.go

Coverage Regressions

Lines Coverage ∆ File
222
81.67
0.45% core/membership/service.go
47
72.41
-0.7% core/deleter/service.go
7
0.0
0.0% cmd/serve.go
Jobs
ID Job ID Ran Files Coverage
1 30243145128.1 27 Jul 2026 06:38AM UTC 290
46.91
GitHub Action Run
Source Files on build 30243145128
  • Tree
  • List 290
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1807
  • PR Base - main (#30242746601)
  • 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