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

Logflare / logflare / e68633a73a549f4797ff8c21d67e6c0aa4ffbe5d-PR-3616
81%
main: 82%

Build:
Build:
LAST BUILD BRANCH: refactor/source-schema-from-flatmap
DEFAULT BRANCH: main
Ran 21 Jun 2026 12:18AM UTC
Jobs 1
Files 484
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

21 Jun 2026 12:04AM UTC coverage: 81.181% (-0.01%) from 81.193%
e68633a73a549f4797ff8c21d67e6c0aa4ffbe5d-PR-3616

Pull #3616

github

djwhitt
perf(bq pipeline): emit ingest telemetry in handle_batch, drop ack ETS lookup

ack/3 re-fetched the full LogEvent from ETS per successful event solely to
resolve telemetry labels — a second copy of an event handle_batch/4 had
already pulled out of ETS. Emit the per-event ingest telemetry in
handle_batch instead, where the LogEvent is already in hand via `triples`,
resolving the label mapping and backend metadata once per batch.

ack now only needs each event's id to finalize queue state and never touches
the event body, removing the per-event lookup entirely (both the labelled and
unlabelled paths). Replaces the maybe_emit_event_telemetry machinery added in
the previous commit.

Behavior note: telemetry now fires at batch-insert time rather than at ack.
The set is identical (handle_batch's succeeded == ack's successful) except on
the exceptional path where handle_batch raises after emitting — consistent
with the pipeline already emitting regardless of BigQuery insert errors.
Events missing from ETS are not in `triples`, so they emit no ingest
telemetry (matching the original pre-skip behavior).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #3616: perf(ingest): update_counter claim + BigQuery pipeline allocation cleanups

24 of 26 new or added lines in 4 files covered. (92.31%)

2 existing lines in 1 file now uncovered.

13226 of 16292 relevant lines covered (81.18%)

5083.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.67
-0.34% lib/logflare/backends/ingest_event_queue.ex
1
81.96
-0.52% lib/logflare/sources.ex

Coverage Regressions

Lines Coverage ∆ File
2
83.33
-8.33% lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex
Jobs
ID Job ID Ran Files Coverage
1 e68633a73a549f4797ff8c21d67e6c0aa4ffbe5d-PR-3616.1 21 Jun 2026 12:18AM UTC 484
81.18
GitHub Action Run
Source Files on build e68633a73a549f4797ff8c21d67e6c0aa4ffbe5d-PR-3616
  • Tree
  • List 484
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3616
  • PR Base - main (#684E8FCF...)
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

© 2026 Coveralls, Inc