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

Logflare / logflare / 36e77e6f86a82b618615eec0a92b126283adcb25
81%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 04:45PM UTC
Jobs 1
Files 477
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

01 Jun 2026 04:32PM UTC coverage: 80.683% (+0.003%) from 80.68%
36e77e6f86a82b618615eec0a92b126283adcb25

push

github

web-flow
chore: gate BigQuery schema verification behind a config flag (default off) (#3543)

* chore: gate BigQuery schema verification behind a config flag (default off)

PR #3489 re-enabled on-ingest BigQuery schema type verification, which had
been a silent no-op for years (string-keyed body maps were merged against
the %SourceSchema{} struct's atom keys, so conflicts were never detected).
Because we don't yet know how the now-working verification behaves under
production traffic, disable it by default and re-enable in a later release
after more testing.

Gate the verification logic in BigQuerySchemaChange.validate/2 behind a
runtime Application env flag, defaulting off in config.exs. When off,
validate/2 returns :ok immediately, restoring the prior no-op behavior with
strictly less per-event work (no cache lookup, no typemap build/merge).

Using a runtime get_env (not a compile-time attribute) keeps check_body/4
and friends reachable, avoiding unused-function / unreachable-clause
warnings.

The validate/2 test block enables the flag in setup so the dormant-in-prod
logic stays fully covered; valid?/2 tests are unaffected. The per-source
validate_schema toggle is untouched and now sits below the global switch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* refactor: make BigQuerySchemaChange.enabled?/0 private

It is only called internally by validate/2, so drop it from the public
API surface per review feedback.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

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

7 of 7 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

12718 of 15763 relevant lines covered (80.68%)

3671.81 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
30.77
-3.85% lib/logflare/sources/source/text_notification_server.ex
Jobs
ID Job ID Ran Files Coverage
1 36e77e6f86a82b618615eec0a92b126283adcb25.1 01 Jun 2026 04:45PM UTC 477
80.68
GitHub Action Run
Source Files on build 36e77e6f86a82b618615eec0a92b126283adcb25
  • Tree
  • List 477
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 36e77e6f on github
  • Prev Build on main (#80BAED9D...)
  • Next Build on main (#1EBCCD80...)
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