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

Logflare / logflare / 34088741012-1
83%

Build:
DEFAULT BRANCH: main
Ran 07 Sep 2026 06:13AM UTC
Jobs 1
Files 455
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

07 Sep 2026 05:56AM UTC coverage: 82.169% (-0.06%) from 82.229%
34088741012-1

push

github

web-flow
fix: remove every read of billing_counts (#3920)

Once the writes stop, cumulative_usage/3 decays to zero for every user at
the start of the next month. A partner billing API that answers 200 with a
silent zero is worse than one that does not exist.

Delete the read surfaces:

- GET /api/partner/users/:user_token/usage and its controller action. This
  breaks the endpoint for partners.
- The usage chart and the day picker on /billing/edit. The picker only drove
  the chart. The chart CSS and the contex dependency go with them.
- The "Usage" section on /billing/edit, its EstimateUsageComponent, and the
  copy that told metered users to review usage below.
- Logflare.Billing.BillingCounts and Logflare.Billing.BillingCount.
- The has_many :billing_counts on User and Source.
- The billing_counts test factory.

The table and its rows stay. Postgres still cascades a user delete through
the user_id foreign key, which carries on_delete: :delete_all.


Claude-Session: https://claude.ai/code/session_014EidfTqVNLJwC2QwMFQV5Q

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

14668 of 17851 relevant lines covered (82.17%)

2018.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
83.33
2.69% lib/logflare/sources/source/billing_writer.ex
2
83.33
-8.33% lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex
1
30.77
-3.85% lib/logflare/sources/source/text_notification_server.ex
1
82.52
-0.97% lib/telemetry.ex
Jobs
ID Job ID Ran Files Coverage
1 34088741012-1.1 07 Sep 2026 06:13AM UTC 455
82.17
GitHub Action Run
Source Files on build 34088741012-1
  • Tree
  • List 455
  • Changed 10
  • Source Changed 6
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34088741...
  • 7a83f37a on github
  • Prev Build on main (#33798501...)
  • Next Build on main (#34111228...)
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