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

raystack / frontier / 29992856414
47%
main: 47%

Build:
Build:
LAST BUILD BRANCH: admin-org-design-fixes
DEFAULT BRANCH: main
Ran 23 Jul 2026 08:57AM UTC
Jobs 1
Files 290
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

23 Jul 2026 08:52AM UTC coverage: 46.629%. Remained the same
29992856414

Pull #1796

github

whoAbhishekSah
feat(db): block deleting an org that still has service users

Adds a BEFORE DELETE trigger on organizations that fails if any
serviceusers row still points at the org. This is a DB-level safety
net: the app deleter already removes service users before the org, so
normal deletes are unaffected. If that cleanup ever regresses, or an
org is deleted out of band, the delete now fails loudly instead of
leaving service users that keep authenticating.

A plain foreign key can't be used. The bootstrap superuser lives under
the virtual platform org (uuid.Nil), which has no row in organizations
by design, so an FK would reject that row. A trigger only fires on real
org deletes, so the platform org and its bootstrap account stay out of
scope.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #1796: feat(db): block deleting an org that still has service users

18136 of 38894 relevant lines covered (46.63%)

14.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29992856414.1 23 Jul 2026 08:57AM UTC 290
46.63
GitHub Action Run
Source Files on build 29992856414
  • Tree
  • List 290
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1796
  • PR Base - main (#29989280331)
  • 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