$ the-wire · showcase
DuckLake connection setup folds four catalog commits into one
By RepoJournal · Filed · About Supabase · Composed from the cited sources · methodology
The day's work is mostly latency: DuckLake's parquet configuration now commits once per connection instead of four times, the Snowflake destination sheds per-byte and per-row costs, and the Postgres store stops waiting forever on a dead connection.
perf(ducklake): set writer options in one commit supabase/etl
The four `set_option` calls that configure the Parquet writer on every DuckLake connection each committed to the catalog separately. Wrapping them in one transaction cuts catalog transactions for a single connection setup from 77 across three runs to a single commit, against a `configure_parquet` phase that the PR reports at 5.8 s median and 14.2 s p90 per connection in production.
fix(store): bound store transactions client-side supabase/etl
The Postgres store's client-side wait was unbounded and held its mutex while blocking, so a silently dead connection or frozen server stalled every other store caller behind it, with no help from `statement_timeout` or `lock_timeout`. Transactions now carry a client-side bound, so the mutex is released instead of waiting on a server that will never answer.
perf(snowflake): cut encoding and per-event work (#1285) supabase/etl
Four per-byte, per-row and per-event costs are gone from the Snowflake destination, including a bytea hex path that writes through a 256-byte stack buffer instead of one `write!` per byte, measuring 56,114 to 40,308 instructions per row for wide rows with a 64-byte bytea column. Encoded request bytes are unchanged, confirmed by an identical output checksum in the new `snowflake_row_encode` scen...
perf(etl): borrow unquoted array elements instead of copying them supabase/etl
The array text parser now hands plain elements to the parser as slices of the input instead of copying each character through a scratch `String`; only quoted or escaped elements take the buffer path, matching the COPY row parser. Output and errors are unchanged.
feat(mcp apps): create project and create branch ui supabase/mcp
MCP Apps gain views for creating a project and creating a branch, which previously had no UI. The stacked refactor behind it splits `src/shared/styles.css` into a base sheet and per-component CSS so each view's single-file HTML ships only the CSS for what it renders, with no intended change to rendered output.