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

supabase / etl / 41604760774
81%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 08:47AM UTC
Jobs 1
Files 250
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

03 Nov 2026 08:38AM UTC coverage: 80.564% (+0.006%) from 80.558%
41604760774

push

github

web-flow
ci: Sync CI metrics hourly (#1172)

* feat(xtask): Add CI metrics collector

Add `cargo x ci-metrics migrate|sync`, which collects GitHub Actions
runs, jobs, benchmark manifests and code-scanning metadata into a
Postgres `ci` schema, with read-only `ci_report` views for Grafana.

Syncs are level-triggered: each run compares wanted per-day coverage
with stored state, so outages and crashes heal on the next sync. Writes
are idempotent upserts keyed on GitHub ids; jobs only move forward and
artifacts are untrusted, size-capped input.

Move the GitHub REST transport into a shared module so
`benchmark-compare` and the collector use one client.

* feat(xtask): Ingest benchmark backfill results

Benchmark backfills upload `benchmark-backfill-*` artifacts, which the
collector skipped, so backfilled history never reached the database.
Accept both prefixes; the manifest trigger tells the runs apart.

Parse the manifest commit time as RFC 3339 and store it in UTC, and
expose it on `ci_report.benchmark_metric` so backfilled points plot at
the measured commit's time.

* feat(xtask): Add CI report views for dashboards

Move logic the dashboard repeated in panel SQL into `ci_report` views:
`workflow` labels (CodeQL default setup and workflow share a name),
`flaky_job`, `pr_time_to_green`, and a `scheduled_daily` that matches
the health panel. Fold the benchmark commit-time column into the
initial migration, since neither migration has shipped.

Add a build script so edited migrations are re-embedded: Cargo does
not track `sqlx::migrate!` inputs on stable Rust.

* ci: Sync CI metrics hourly

Run `cargo x ci-metrics sync` every hour at :37, away from the other
schedules, from `main` only. The database URL lives in the `ci-metrics`
environment; the job gets read-only GitHub permissions.

Commit Supabase's public root CA and point the collector at it through
`CI_METRICS_SSL_ROOT_CERT`, so the trusted CA is reviewable rather than
hidden in a secret. The collector now ref... (continued)

27 of 32 new or added lines in 1 file covered. (84.38%)

29 existing lines in 5 files now uncovered.

60731 of 75382 relevant lines covered (80.56%)

27292.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
48.21
14.88% crates/xtask/src/commands/ci_metrics/mod.rs

Coverage Regressions

Lines Coverage ∆ File
14
91.33
0.28% crates/etl-destinations/src/ducklake/encoding.rs
6
92.01
-0.24% crates/etl-destinations/src/clickhouse/core.rs
6
78.94
-0.74% crates/etl-destinations/src/ducklake/external_maintenance.rs
2
70.03
0.19% crates/etl-maintenance/src/ducklake/runner.rs
1
95.01
0.0% crates/etl-destinations/src/bigquery/encoding.rs
Jobs
ID Job ID Ran Files Coverage
1 41604760774.1 03 Nov 2026 08:47AM UTC 250
80.56
GitHub Action Run
Source Files on build 41604760774
  • Tree
  • List 250
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41604760774
  • f9928aa1 on github
  • Prev Build on main (#41602470743)
  • Next Build on main (#41626089456)
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