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

raystack / frontier / 27126681961
44%
main: 43%

Build:
Build:
LAST BUILD BRANCH: fix/permission-delete-cascade
DEFAULT BRANCH: main
Ran 08 Jun 2026 09:00AM UTC
Jobs 1
Files 277
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

08 Jun 2026 08:55AM UTC coverage: 43.509% (+0.1%) from 43.41%
27126681961

Pull #1687

github

whoAbhishekSah
fix(bootstrap): reconcile predefined roles instead of add-only migrate

MigrateRoles skipped any predefined role that already existed, so it was
add-only: when a predefined role was narrowed in a later release, the
dropped permissions kept granting access on existing deployments because
the boot migration never updated the role.

createRole now reconciles an existing predefined role when its permission
set has drifted from the definition, going through role.Update (which
prunes the removed permission tuples and rewrites the current set). When the
permission set is unchanged it still short-circuits, so there is no churn or
audit noise on a normal boot.

Adds Update to the bootstrap RoleService interface and unit tests for the
create / unchanged / drifted paths.

Refs #1661

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #1687: fix(bootstrap): reconcile predefined roles instead of add-only migrate

41 of 45 new or added lines in 1 file covered. (91.11%)

16581 of 38109 relevant lines covered (43.51%)

12.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
31.06
19.06% internal/bootstrap/service.go
Jobs
ID Job ID Ran Files Coverage
1 27126681961.1 08 Jun 2026 09:00AM UTC 277
43.51
GitHub Action Run
Source Files on build 27126681961
  • Tree
  • List 277
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1687
  • PR Base - main (#27121031755)
  • 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