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

raystack / frontier / 27118141309
44%
main: 43%

Build:
Build:
LAST BUILD BRANCH: fix/permission-delete-cascade
DEFAULT BRANCH: main
Ran 08 Jun 2026 05:40AM UTC
Jobs 1
Files 276
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 05:32AM UTC coverage: 43.305% (+0.08%) from 43.224%
27118141309

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

29 of 33 new or added lines in 1 file covered. (87.88%)

26 existing lines in 1 file now uncovered.

16488 of 38074 relevant lines covered (43.31%)

12.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
27.84
15.84% internal/bootstrap/service.go

Coverage Regressions

Lines Coverage ∆ File
26
27.84
15.84% internal/bootstrap/service.go
Jobs
ID Job ID Ran Files Coverage
1 27118141309.1 08 Jun 2026 05:40AM UTC 276
43.31
GitHub Action Run
Source Files on build 27118141309
  • Tree
  • List 276
  • 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 (#27116164446)
  • 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