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

supabase / etl / 41404196493
81%

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 07:15AM UTC
Jobs 1
Files 248
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 Nov 2026 07:06AM UTC coverage: 80.406% (-1.3%) from 81.692%
41404196493

push

github

web-flow
feat(xtask): Add CI metrics collector (#1170)

* 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.

* fix(xtask): Harden CI metrics sync per review

- Skip manifests whose attempt GitHub no longer returns instead of
  failing the foreign keys on every sync.
- Strip URLs from reqwest errors so signed artifact download URLs never
  reach logs.
- Treat a 403 from code scanning as unavailable rather than fatal, so
  the sync still records success.
- Mark analyses as not backfilled while a multi-page ... (continued)

952 of 2418 new or added lines in 11 files covered. (39.37%)

33 existing lines in 7 files now uncovered.

60383 of 75098 relevant lines covered (80.41%)

36051.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
652
16.94
crates/xtask/src/commands/ci_metrics/sync.rs
504
0.0
crates/xtask/src/commands/ci_metrics/store.rs
105
17.97
crates/xtask/src/github.rs
62
67.01
1.65% crates/xtask/src/commands/benchmark_compare.rs
54
33.33
crates/xtask/src/commands/ci_metrics/mod.rs
49
58.68
-6.31% crates/xtask/src/commands/nextest.rs
21
95.08
crates/xtask/src/commands/ci_metrics/manifest.rs
18
88.39
crates/xtask/src/test_manifest.rs
1
0.0
0.0% crates/xtask/src/main.rs

Coverage Regressions

Lines Coverage ∆ File
14
91.24
0.93% crates/etl-destinations/src/ducklake/encoding.rs
7
69.77
-0.27% crates/etl-maintenance/src/ducklake/runner.rs
5
87.86
-0.2% crates/etl/src/replication/apply/mod.rs
2
87.47
-0.06% crates/etl-destinations/src/ducklake/batches.rs
2
89.81
-0.54% crates/etl/src/runtime/table_sync/worker.rs
2
67.01
1.65% crates/xtask/src/commands/benchmark_compare.rs
1
98.05
-0.24% crates/etl-destinations/src/ducklake/schema.rs
Jobs
ID Job ID Ran Files Coverage
1 41404196493.1 02 Nov 2026 07:15AM UTC 248
80.41
GitHub Action Run
Source Files on build 41404196493
  • Tree
  • List 248
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41404196493
  • 9a18b9d1 on github
  • Prev Build on main (#41075116225)
  • Next Build on main (#41421086108)
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