← back to index

U11 — Track Inventory togglePROD

U9 followup. Surfaces the track_inventory column added by U9 as a checkbox toggle in the General Information section of /cafe/products/[id], mirroring the U6 isHidden pattern.

Summary

Status
8/8 prod · 51/51 regression = 59/59 · shipped
Commit
nix-cafe 08f4d30
Files
5 modified · ~30 LOC net · no migration · no backend · no schema

8/8 prod checks

Seed throwaway product on prod via DAO probe; confirms initial track_inventory=false
SSO login on lumiere-coffee
Navigate to /cafe/products/{templateId}; product-track-inventory checkbox unchecked by default
Tick + Save → DB confirms cafe.product_template.track_inventory=true
Reload page → checkbox hydrates checked (the hydration path under test)
Untick + Save → DB confirms track_inventory=false (bi-directional write)
Reload again → checkbox hydrates unchecked
No 5xx during the suite

Screenshots

Regression sweep — 51/51

8/8 + 51/51 = 59/59 prod tests green on the karouna-dev branch.
test-phase1-prod.mjs11/11
test-phase2-sso-outdoor-prod.mjs6/6
test-m1-prod.mjs10/10
test-r7-prod.mjs14/14
test-r8-prod.mjs4/4
test-phase2-cafe-multishop-prod.mjs (solo)6/6

phase1 noted one transient HTTP 500 on a stale Next chunk URL (layout-b72108c0103e6e55.js) — normal CF asset-cache transition during deploy; assertions still 11/11.