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

supabase / etl / 42968601007
79%

Build:
DEFAULT BRANCH: main
Ran 11 Nov 2026 05:58AM 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

11 Nov 2026 05:52AM UTC coverage: 81.235% (+0.1%) from 81.115%
42968601007

push

github

web-flow
fix(defaults): pin session for default rendering (#1228)

* fix(defaults): render and parse defaults sessionlessly

The DDL event trigger rendered column defaults with pg_get_expr in the
user's session, so DateStyle, IntervalStyle, extra_float_digits,
TimeZone and bytea_output changed what destinations received. A new
source migration pins those settings on etl.describe_table_schema with
function-level set clauses, matching ETL's own connections. Fixes
PIPE-1281.

ETL replicates unknown types such as domains and enums as text, but a
domain default renders as its base value before the domain's type
modifier rounds or pads it. Keep such a default only when it is a
string literal cast to the column's own unmodified type, which keeps
enum defaults and drops domain defaults with a warning. Fixes
PIPE-1362.

The parser also skips casts whose stored value reads the evaluating
session: built-in non-text casts on text columns, conversions to or
from timestamptz, and time to timetz. A new property checks parsed
defaults against the backfilled value under arbitrary session settings.

* test(migrations): guard pinned rendering settings

etl.describe_table_schema pins the output settings ETL connections use,
so defaults render like replicated values. Check every connection
option against the function's pinned settings. Changing an option now
fails until a source migration updates the pins, or the option is
listed as one that does not change value rendering.

* fix(defaults): skip more value-changing casts

Review follow-ups for the default parser:

- Keep "char" and bpchar casts non-preserving on non-text columns.
  int4("char") stores the byte code, so '5' backfills as 53.
- Skip text casts on temporal and interval columns, which parse the
  text with the evaluating session's DateStyle, IntervalStyle or
  TimeZone.
- Treat name as truncating to 63 bytes: keep a name cast only on a
  name column, and no text cast there.

* fix(defaults): keep domain defaults via b... (continued)

174 of 176 new or added lines in 3 files covered. (98.86%)

12 existing lines in 2 files now uncovered.

61333 of 75501 relevant lines covered (81.23%)

43154.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.71
1.99% crates/etl-postgres/src/default_expression.rs
1
0.0
0.0% crates/etl/src/fuzzing.rs

Coverage Regressions

Lines Coverage ∆ File
10
92.24
2.52% crates/etl-destinations/src/ducklake/encoding.rs
2
89.94
-0.08% crates/etl/src/replication/apply/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 42968601007.1 11 Nov 2026 05:58AM UTC 250
81.23
GitHub Action Run
Source Files on build 42968601007
  • Tree
  • List 250
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42968601007
  • e1089d2d on github
  • Prev Build on main (#42798157863)
  • Next Build on main (#43110915774)
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