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

Logflare / logflare / 33585906010-1
82%
main: 83%

Build:
Build:
LAST BUILD BRANCH: bb/o11y-2569-kv-warmup-cache-miss
DEFAULT BRANCH: main
Ran 02 Sep 2026 03:17AM UTC
Jobs 1
Files 459
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

02 Sep 2026 03:08AM UTC coverage: 82.218% (+0.04%) from 82.181%
33585906010-1

Pull #3894

github

chasers
fix: address PR review on the webhook header inputs

Four fixes from review. Each one reproduced first.

Creating a webhook backend through the UI stored `gzip: false`, against the
documented default of `true`. The form's `for` is a plain map, so
`input_value(f_config, :gzip)` is nil on `:new`. The checkbox rendered
unchecked and its hidden companion submitted "false", so
`default_field_value(:gzip, true)` never fired. The box now renders checked
unless the value is explicitly false. The edit path was already correct.

Renaming a header key dropped its value. The row's value input shows the
REDACTED sentinel, and `unredact_headers/2` looks the replacement up by the
submitted key, so a renamed key matched nothing and the header vanished behind
a success flash. Each row now carries a hidden `header<i>_stored_key`, and
`transform_params/2` resolves the sentinel against that key. Renaming a key
carries its stored value over. The OTLP and Loki header rows submit no
`stored_key`, so their behavior is unchanged.

A batch whose events all fail to encode posted an empty body. The pipeline now
skips the request and logs it, and the formatter middleware returns
`{:error, :all_events_dropped}` rather than sending an empty body from the
Google SecOps path.

The dropped-count log had no backend context, while the JSON path in the same
module already logged `source_id` and `backend_id`. The formatter now takes
metadata, from `encode/2` and from the middleware's `:formatter_opts`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WPMHo5UmWRJnSVJcc36JJW
Pull Request #3894: feat: add custom header inputs to the webhook backend form

56 of 58 new or added lines in 6 files covered. (96.55%)

2 existing lines in 1 file now uncovered.

14699 of 17878 relevant lines covered (82.22%)

1627.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
89.11
-0.25% lib/logflare_web/live/backends/backends_live.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 33585906010-1.1 02 Sep 2026 03:17AM UTC 459
82.22
GitHub Action Run
Source Files on build 33585906010-1
  • Tree
  • List 459
  • Changed 9
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33585906...
  • Pull Request #3894
  • PR Base - main (#33563286...)
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