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
driver-sql / driver-turso: pin the atomicity of the NOW() ADD COLUMN + backfill (a failing fill rolls the ADD COLUMN back) on each door #37496
Filing gate: ① · Source: fleet (L2 S5 of seat repo:objectstack#5 on PR #37469, delta contract record on head 835c89df). Follow-up of #37413. Per the maintainer's rule, a simple issue becomes a follow-up card: the behaviour is implemented, and only its pin is missing.
reach: read at PR #37469 head 835c89df · evidence: read. Dropping the local knex.transaction or splitting the remote write batch leaves every test green.
What
PR #37469 makes ADD COLUMN plus the NOW() backfill atomic in three places:
one knex.transaction on the local managed door;
one knex.transaction on the local shard door;
one write batch on remote syncSchema.
No test fails if any of those is removed. A fill that fails after the column exists would then leave NULL rows that no re-sync refills, and a nullable field reports nothing.
Expected
For each door, a test makes the fill fail (an injected UPDATE error) and asserts that the column is absent afterwards, and that a re-sync adds and fills it. The test must turn red when the transaction or batch is removed.
Scope note · area o5-D · 2026-11-26T09:09Z · from the seat's ACCEPT 7187416118 on PR #37469, an open question carried here rather than lost (not owed by that PR):
After the NULL-only fill has just written every existing row, tighten_not_null for that column can no longer fail on a row, yet it stays destructive (needs --allow-destructive, refuses an artifact-pinned local boot). Decide whether the differ may grade it safe when the column holds no NULL at read time (a data-dependent category), or keep the static grading and say why in the entry's message. Measure first: what isPublishedColumnChange and the artifact-pinned boot read, and whether a data-dependent grade can flip between plan and apply.
Activity
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Scope note · area o5-D · 2026-11-26T09:09Z · from the seat's ACCEPT 7187416118 on PR #37469, an open question carried here rather than lost (not owed by that PR):
tighten_not_nullfor that column can no longer fail on a row, yet it staysdestructive(needs--allow-destructive, refuses an artifact-pinned local boot). Decide whether the differ may grade itsafewhen the column holds no NULL at read time (a data-dependent category), or keep the static grading and say why in the entry's message. Measure first: whatisPublishedColumnChangeand the artifact-pinned boot read, and whether a data-dependent grade can flip between plan and apply.