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

supabase / etl / 35574826806
79%

Build:
DEFAULT BRANCH: main
Ran 21 Sep 2026 08:19AM UTC
Jobs 1
Files 302
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

21 Sep 2026 07:49AM UTC coverage: 78.67% (+0.08%) from 78.586%
35574826806

push

github

web-flow
clickhouse: make CDC dispatch asynchronous (#1041)

* Split ClickHouse write path into DestinationWriter

Mechanical split: move the client, inserter config, store, and
per-table caches with all inner write/DDL methods into a private
DestinationWriter, leaving ClickHouseDestination as a thin wrapper.
Mirrors the Snowflake writer-context layout so a later change can
spawn background event tasks that cannot reach the task registry.
No behavior change.

* Make ClickHouse CDC dispatch asynchronous

write_events now reaps prior tasks, admits the batch on a TaskSet, and
returns after admission; the spawned task runs the existing write path
and reports through the async result channel. Durable is still the only
reported status: the task completes only after every INSERT is
acknowledged under wait_for_async_insert=1, so RequireDurable holds by
construction and no checkpoint can advance early.

drop_table_for_copy drains the registry and holds the guard through the
remote drop so admitted event tasks cannot race a table reset, and
shutdown aborts and joins leftover tasks. Batch ordering is preserved
because the apply loop keeps at most one streaming write pending per
worker.

PIPE-1086

* Cover ClickHouse async dispatch lifecycle

Route the test-utils write_events convenience method through the
Destination trait so tests exercise task admission and the async
result channel instead of the inner writer.

New coverage: a timing probe proves the trait dispatch returns while a
sleepEachRow-delayed insert is still pending and Durable arrives only
after it lands; a table reset drains the admitted write before
dropping; shutdown aborts an admitted write promptly and its result
surfaces as an error instead of a silent success; a rejected insert
reaches the caller through the channel with later admission intact;
and a pipeline smoke test streams two transactions through a delayed
destination and shuts down cleanly.

* Test aborted ClickHouse batch replay convergence

Sh... (continued)

251 of 251 new or added lines in 3 files covered. (100.0%)

6 existing lines in 1 file now uncovered.

59223 of 75280 relevant lines covered (78.67%)

8286.14 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
92.5
0.44% crates/etl-destinations/src/clickhouse/core.rs
Jobs
ID Job ID Ran Files Coverage
1 35574826806.1 21 Sep 2026 08:19AM UTC 302
78.67
GitHub Action Run
Source Files on build 35574826806
  • Tree
  • List 302
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35574826806
  • 246344a2 on github
  • Prev Build on main (#35567723407)
  • Next Build on main (#35578284984)
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