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

raystack / frontier / 32108740717
49%
main: 49%

Build:
Build:
LAST BUILD BRANCH: org-delete-forfeit-email
DEFAULT BRANCH: main
Ran 18 Aug 2026 06:56AM UTC
Jobs 1
Files 306
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

18 Aug 2026 06:51AM UTC coverage: 48.893% (+0.06%) from 48.83%
32108740717

Pull #1880

github

whoAbhishekSah
feat(deleter): email the org owners when a delete forfeits tokens

Deleting an organization forfeits any unused tokens. The owners now get
an email saying how many tokens were left and that support can transfer
the amount. The subject and body come from the billing config
(billing.token_forfeit_notice.subject/body) as Go templates with
.Amount, .Org, and .User, falling back to plain built-in text — the
same pattern the PAT expiry alerts use. The mail goes through the
shared mailer dialer, only after the delete fully succeeded, and a send
failure is logged, never returned.

The owners and the amount are read before teardown (they are gone
after). The org lookup at the start switched from Get to GetRaw so a
disabled org keeps its title in the email and stays deletable without
a special case.
Pull Request #1880: feat(deleter): email the org owners when a delete forfeits tokens

102 of 134 new or added lines in 3 files covered. (76.12%)

51 existing lines in 1 file now uncovered.

19721 of 40335 relevant lines covered (48.89%)

15.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
29
71.29
core/deleter/forfeit_notice.go
2
77.23
0.09% core/deleter/service.go
1
0.0
0.0% cmd/serve.go

Coverage Regressions

Lines Coverage ∆ File
51
77.23
0.09% core/deleter/service.go
Jobs
ID Job ID Ran Files Coverage
1 32108740717.1 18 Aug 2026 06:56AM UTC 306
48.89
GitHub Action Run
Source Files on build 32108740717
  • Tree
  • List 306
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1880
  • PR Base - org-delete-preflight-blockers (#32108730980)
  • 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