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

raystack / frontier / 24388047631
42%
main: 43%

Build:
Build:
LAST BUILD BRANCH: removal-cascade-consolidation
DEFAULT BRANCH: main
Ran 14 Apr 2026 08:10AM UTC
Jobs 1
Files 275
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

14 Apr 2026 08:04AM UTC coverage: 41.788% (+0.2%) from 41.606%
24388047631

Pull #1537

github

whoAbhishekSah
feat: add membership package with AddOrganizationMember

Introduce core/membership package that manages policy + relation
together for org membership operations. AddOrganizationMember
validates org/user/role, creates policy + explicit relation, and
emits audit records.

- Validates org exists and is enabled, user exists and is enabled,
  role is org-scoped (global or org-specific)
- Rejects if user is already a member
- Creates policy and matching explicit relation (owner role -> owner
  relation, everything else -> member relation)
- Audit logging via both structured records and event auditor
- 12 unit tests covering all error and success paths

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #1537: feat: add membership package with AddOrganizationMember

159 of 168 new or added lines in 5 files covered. (94.64%)

80 existing lines in 4 files now uncovered.

15276 of 36556 relevant lines covered (41.79%)

11.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
66.6
0.0% internal/api/v1beta1connect/organization.go
3
0.0
0.0% pkg/server/connect_interceptors/authorization.go
2
0.0
0.0% cmd/serve.go
1
4.6
0.0% internal/api/v1beta1connect/v1beta1connect.go

Coverage Regressions

Lines Coverage ∆ File
34
0.0
0.0% cmd/serve.go
25
66.6
0.0% internal/api/v1beta1connect/organization.go
13
4.6
0.0% internal/api/v1beta1connect/v1beta1connect.go
8
0.0
0.0% pkg/server/connect_interceptors/authorization.go
Jobs
ID Job ID Ran Files Coverage
1 24388047631.1 14 Apr 2026 08:10AM UTC 275
41.79
GitHub Action Run
Source Files on build 24388047631
  • Tree
  • List 275
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1537
  • PR Base - main (#24386407451)
  • 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