6bcb2690

By: Michael Lynch <git@mtlynch.io>

Enforce grocery row invariants

Rebuild the groceries table in strict mode and add database checks for domain
limits, canonical edge whitespace, positive quantities, cart flags, and
required timestamps. Normalize legacy values while copying rows into the new
table.

Testing: dev-scripts/build-all-flake-targets

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 3s 9s 9s 12s 3s
Eval 12s 1m29s 1m29s 1m41s 0s
Build 1m19s 5m01s 1m25s 2m45s 0s
Suite 3s 6m39s 2m41s 2m45s 3s

Timeline

0s20s40s1m1m20s1m40s2m2m20s2m40s