You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(boot): an org with two datasets each at config v1 fails every boot — ensure_default_dataset_for's config read returns two rows #1445
er-dev deploys broken since 2026-11-29 ~12:45Z. Deploy run 46264663476: er-schema-migrate failed with ensuring the control-plane schema: query returned an unexpected number of rows.
Cause: fixups::ensure_default_dataset_for runs on every boot and reads SELECT yaml FROM public.config_versions WHERE org_id = $1 AND version = $2 with query_opt. Config versions are numbered per dataset. Once an org has a second dataset that has published its own v1, the read returns two rows, query_opt returns RowCount, and the control plane refuses to boot. Trigger: p3live/spill10m, created for #558.
Done when that read can't fail on a multi-dataset org, a pg test boots an org with two datasets each at config v1, and the er-dev deploy goes green.
Activity
fix(boot): an org whose datasets share a config version number still …