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

Logflare / logflare / d0d57969aba21aac837baa1c9533eb9c6a6935c6
81%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 09:06PM UTC
Jobs 1
Files 488
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 Jul 2026 08:55PM UTC coverage: 81.677% (-0.02%) from 81.694%
d0d57969aba21aac837baa1c9533eb9c6a6935c6

push

github

web-flow
fix: correct OpenAPI schema property/required mismatches, fix Postgres password redaction gap (#3663)

Audit of lib/logflare_web/open_api_schemas.ex against the underlying Ecto
schemas/changesets/Jason.Encoder impls found several mismatches between
the hand-written OpenAPI schemas and the resources they document:

- RuleApiSchema: required: [:name] referenced a field Rule doesn't have
  (copy/paste artifact) -- the real required field is lql_string per
  Rule.changeset/2. Drop inserted_at/updated_at properties -- Rule's
  encoder never serializes them. Add sink to both the encoder's only:
  list (missing -- sink is the "route matching events to this other
  source" field, cast via changeset/2 and editable in the Rules UI at
  rules_live.html.heex) and as an OpenAPI property.
- EndpointApiSchema: add redact_pii, enable_dynamic_reservation, labels
  properties. Add language and backend_id to the encoder's only: list
  (both missing -- language is now serialized; backend_id is cast via
  changeset/2 and read back into the edit form in endpoints_live.ex,
  i.e. a genuine UI-facing field with no way to read it via the API).
  language is NOT added to required: infer_language_from_backend/1 runs
  before validate_required/2 and always fills it in (default :bq_sql, or
  inferred from backend_id) when omitted, so the API never actually
  requires a client to submit it -- marking it required in the shared
  request/response schema would make the docs stricter than reality.
- BackendApiSchema: add type and description properties; required now
  [:name, :type, :config] matching Backend.changeset/2's
  validate_required/2 (both type and config are response-serialized).
  Replace config's generic %Schema{type: :object} with a documentation
  anyOf across 13 new per-backend-type config schemas (WebhookConfigSchema,
  DatadogConfigSchema, SentryConfigSchema, PostgresConfigSchema,
  BigQueryConfigSchema, LokiConfigSchema, ClickhouseConfigSchema,
  IncidentioConfigSch... (continued)

3 of 4 new or added lines in 1 file covered. (75.0%)

2 existing lines in 2 files now uncovered.

13569 of 16613 relevant lines covered (81.68%)

5076.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
80.0
-0.9% lib/logflare/backends/adaptor/postgres_adaptor.ex

Coverage Regressions

Lines Coverage ∆ File
1
30.77
-3.85% lib/logflare/sources/source/text_notification_server.ex
1
14.29
-7.14% lib/logflare/system_metrics/cluster.ex
Jobs
ID Job ID Ran Files Coverage
1 d0d57969aba21aac837baa1c9533eb9c6a6935c6.1 07 Jul 2026 09:06PM UTC 488
81.68
GitHub Action Run
Source Files on build d0d57969aba21aac837baa1c9533eb9c6a6935c6
  • Tree
  • List 488
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d0d57969 on github
  • Prev Build on main (#68304C92...)
  • Next Build on main (#37055C38...)
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