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

Logflare / logflare / 36426890158-2
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: feat/spool_consumer_ack
DEFAULT BRANCH: main
Ran 28 Sep 2026 01:34PM UTC
Jobs 1
Files 478
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

28 Sep 2026 01:11PM UTC coverage: 83.294% (+0.04%) from 83.25%
36426890158-2

Pull #4049

github

Baishan
fix(bigquery): key schema-update sampling to BigQuery's own processing rate

process_data/3 sampled schema-update checks against RateSampler's
dispatch-rate key -- the same one maybe_broadcast_and_route/2 bumps on
ingress. That diverges hard from BigQuery's actual processing
throughput during a backlog: draining 10,000 queued events at low
recorded ingress produced near-100% sampling (probability = 1/rate,
and rate stays pinned near the stale ingress figure), running the
schema diff (which happens before Schema.update's own update-time
throttle) on nearly every event instead of a handful. The inverse also
happens -- a stale high rate can suppress checks for an entire slow
drain after ingress stops, since nothing ages it down.

Gives BigQuery its own {source.token, :bq_schema_check} rate, bumped
once per processed batch in handle_batch/4 (including the current
batch, so a large backlog is reflected immediately) and sampled
against in process_data/3 instead of the dispatch-rate key. A source
with no schema row yet always runs its check regardless of rate, so a
large first batch's seeded rate can't skip initial schema discovery.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #4049: feat: Unify broadcast and schema-update rate gating into one local sampler

26 of 26 new or added lines in 3 files covered. (100.0%)

2 existing lines in 2 files now uncovered.

15740 of 18897 relevant lines covered (83.29%)

2029.05 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.54
-0.55% lib/logflare/backends/spool/consumer_pipeline/queue_producer.ex
1
14.29
-7.14% lib/logflare/system_metrics/cluster.ex
Jobs
ID Job ID Ran Files Coverage
1 36426890158-2.1 28 Sep 2026 01:33PM UTC 478
83.29
GitHub Action Run
Source Files on build 36426890158-2
  • Tree
  • List 478
  • Changed 9
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36426890...
  • Pull Request #4049
  • PR Base - main (#35927000...)
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