MaintainZero-downtime schema migration COLUMN_WITHOUT_DOWNTIMEDEVOS
“Add a required column to this table without taking the service down.”
Changes the schema of a large table in a live database without stopping the application that uses it. It makes the change in stages, so that the old code and the new code both keep working throughout.
Why it mattersSchema changes on live systems are unavoidable, and one done in a single step can lock a table and take the service down.
Done wellThe column added and filled with the service up throughout.
Mind the nullA single statement that locks the table.The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: each change to the live database.
Human in the loopRated 40 of 50, very hardUsefulness 8 of 10About 8 hours by hand
The results
ModelDateOutcomeTimePerson's timeLeverageIssues seen
By hand, no agent8 hours1
No model has run this card yet.
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
Recommended: claude-sonnet-5, 100%.
ModelScoreLinesRuns passedTime a passCost a pass
claude-sonnet-5100%4/41/1102s$0.1305
claude-opus-5-5100%4/41/181s$0.1583
qwen3.5:2b25%1/40/113s$0.0000
claude-haiku-5-525%1/40/125s$0.0039
Each model ran the agent's tests 1 time on 15 November 2026, version 1.4.3, judged by claude-opus-5-5. The score is the share of the tests' lines the judge passed. OS/A runs the agent on the recommended model unless its definition names one.
  • qwen3.5:2b, “a required column on a busy table of eighty million rows”, failed in 1 of 1 run: it adds region as a nullable column with no default that rewrites the table, and sets a lock timeout first The result is only a stray list_directory tool call, with no report, no ALTER TABLE and no lock_timeout anywhere.
  • qwen3.5:2b, “a required column on a busy table of eighty million rows”, failed in 1 of 1 run: it backfills in batches keyed on the primary key and says it will slow or pause on replication lag or lock waits No backfill plan or statement appears in the result or the calls.
  • qwen3.5:2b, “a required column on a busy table of eighty million rows”, failed in 1 of 1 run: it makes region NOT NULL only after counting no empty rows, by a check constraint added NOT VALID and validated separately No check constraint, validation step or empty-row count appears anywhere.
  • claude-haiku-5-5, “a required column on a busy table of eighty million rows”, failed in 1 of 1 run: it adds region as a nullable column with no default that rewrites the table, and sets a lock timeout first No database statements were run; the lock timeout and nullable ADD COLUMN exist only in a conditional plan, and planned work does not count as done.
  • claude-haiku-5-5, “a required column on a busy table of eighty million rows”, failed in 1 of 1 run: it backfills in batches keyed on the primary key and says it will slow or pause on replication lag or lock waits No backfill was run; the keyed batches and the slowing on lag or lock waits are described only as a future stage.
  • claude-haiku-5-5, “a required column on a busy table of eighty million rows”, failed in 1 of 1 run: it makes region NOT NULL only after counting no empty rows, by a check constraint added NOT VALID and validated separately Neither the count nor the NOT VALID constraint was run; both appear only in the plan, and region was never made NOT NULL.