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

raystack / frontier / 8497421076
38%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2024 10:09AM UTC
Jobs 1
Files 226
Run time 2min
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

31 Mar 2024 10:06AM UTC coverage: 9.782% (-0.06%) from 9.841%
8497421076

push

github

web-flow
feat: revert reported billing usage credits (#561)

- a usage can only be reverted once for a usage
- a revert can be for the partial amount of the total usage
reported but not more
- a revert transaction cannot be reverted

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>

1 of 638 new or added lines in 15 files covered. (0.16%)

7 existing lines in 4 files now uncovered.

9457 of 96675 relevant lines covered (9.78%)

2.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% billing/subscription/service.go
3
0.0
billing/credit/credit.go
3
0.0
billing/usage/usage.go
3
0.0
0.0% pkg/server/interceptors/authorization.go
8
0.0
0.0% internal/store/postgres/billing_transactions_repository.go
15
0.0
0.0% internal/api/v1beta1/billing_usage.go
20
0.0
0.0% billing/checkout/service.go
26
0.0
0.0% proto/v1beta1/admin_grpc.pb.go
29
0.0
0.0% pkg/server/interceptors/enrich.go
31
0.0
0.0% billing/credit/service.go
39
0.0
0.0% billing/usage/service.go
45
0.0
0.0% proto/v1beta1/models.pb.validate.go
91
6.86
-0.37% proto/v1beta1/admin.pb.go
130
0.0
0.0% proto/v1beta1/admin.pb.validate.go
192
0.0
0.0% proto/v1beta1/admin.pb.gw.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/server/interceptors/enrich.go
1
0.0
0.0% proto/v1beta1/admin_grpc.pb.go
2
0.0
0.0% proto/v1beta1/admin.pb.gw.go
3
0.0
0.0% billing/credit/service.go
Jobs
ID Job ID Ran Files Coverage
1 8497421076.1 31 Mar 2024 10:09AM UTC 226
9.78
GitHub Action Run
Source Files on build 8497421076
  • Tree
  • List 226
  • Changed 13
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 259db747 on github
  • Prev Build on main (#8465284402)
  • Next Build on main (#8503987237)
  • 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

© 2025 Coveralls, Inc