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

raystack / frontier / 37298120008
54%
main: 54%

Build:
Build:
LAST BUILD BRANCH: soft-delete-policies-relations
DEFAULT BRANCH: main
Ran 05 Oct 2026 10:44AM UTC
Jobs 1
Files 310
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

05 Oct 2026 10:33AM UTC coverage: 54.363% (+0.02%) from 54.344%
37298120008

Pull #1966

github

AmanGIT07
feat(store): policy create checks that the role is live inside the insert transaction

A soft-deleted role keeps its row, so the foreign key on policies.role_id no longer proves the role is live. The insert transaction now reads the role from the live rows with FOR KEY SHARE before the insert. That read waits for a role delete that is still running and returns not found once it commits, and it does not block other policy creates for the same role.
Pull Request #1966: feat(store): policy create checks that the role is live inside the insert transaction

19 of 21 new or added lines in 1 file covered. (90.48%)

22505 of 41398 relevant lines covered (54.36%)

17.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
74.78
0.61% internal/store/postgres/policy_repository.go
Jobs
ID Job ID Ran Files Coverage
1 37298120008.1 05 Oct 2026 10:44AM UTC 310
54.36
GitHub Action Run
Source Files on build 37298120008
  • Tree
  • List 310
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1966
  • PR Base - main (#37278181677)
  • 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