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

raystack / frontier / 27123374642
44%
main: 43%

Build:
Build:
LAST BUILD BRANCH: fix/permission-delete-cascade
DEFAULT BRANCH: main
Ran 08 Jun 2026 07:52AM 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 07:47AM UTC coverage: 43.502% (+0.09%) from 43.41%
27123374642

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

36 of 40 new or added lines in 1 file covered. (90.0%)

18 existing lines in 1 file now uncovered.

16576 of 38104 relevant lines covered (43.5%)

12.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
29.73
17.73% internal/bootstrap/service.go

Coverage Regressions

Lines Coverage ∆ File
18
29.73
17.73% internal/bootstrap/service.go
Jobs
ID Job ID Ran Files Coverage
1 27123374642.1 08 Jun 2026 07:52AM UTC 277
43.5
GitHub Action Run
Source Files on build 27123374642
  • 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