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

raystack / frontier / 30347385525
47%
main: 48%

Build:
Build:
LAST BUILD BRANCH: feat/billing-plan-api
DEFAULT BRANCH: main
Ran 28 Jul 2026 10:20AM 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

28 Jul 2026 09:31AM UTC coverage: 46.894% (-0.05%) from 46.944%
30347385525

Pull #1812

github

whoAbhishekSah
refactor(membership): stop writing org owner/member relations

Since the schema stopped reading the owner and member relations on
organizations (#1809), writing them on every membership change is dead
work. Stop writing them:

- AddOrganizationMember and SetOrganizationMemberRole no longer write
  or replace org relations. The service user identity link
  (serviceuser#org@organization) is still written — the schema reads it
  to resolve the manage permission.
- Groups always write the member relation now, never owner. The member
  relation stays because role grants to a group flow through
  group#member. This also fixes a real bug: a role granted to a group
  never reached the group's own owner, because owners got an owner
  relation instead of member. Group owners now receive group-granted
  roles like every other member.
- Group role changes migrate a legacy owner relation to member.
- linkGroupToOrg no longer writes organization#member@group#member; it
  granted nothing after the schema change. The removal paths still
  delete it (and the org owner/member relations) so members and groups
  from before this change leave no stale data behind.
- Delete the orgRoleToRelation/groupRoleToRelation mapping helpers.

The relations stay declared in the schema until the existing tuples are
cleaned up; SpiceDB cannot drop a relation while data references it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #1812: refactor(membership): stop writing org owner/member relations

4 of 5 new or added lines in 1 file covered. (80.0%)

153 existing lines in 1 file now uncovered.

18263 of 38945 relevant lines covered (46.89%)

14.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.89
0.21% core/membership/service.go

Coverage Regressions

Lines Coverage ∆ File
153
81.89
0.21% core/membership/service.go
Jobs
ID Job ID Ran Files Coverage
1 30347385525.1 28 Jul 2026 10:20AM UTC 290
46.89
GitHub Action Run
Source Files on build 30347385525
  • Tree
  • List 290
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1812
  • PR Base - main (#30335453898)
  • 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