← All tests

NIX-OS-68B — Polish bucket Tier B PROD

2026-04-24 on prod. Three follow-ons that Tier A didn't cover: an optimistic-UI fix for the cashier deactivate race, AGENTS.md gotchas documentation, and updates to two stale R1 tests so the regression suite turns meaningfully greener.

8/8 prod checks green. Cashier chip flips from Active → Inactive within 500ms of clicking Deactivate (tight assertion — would've failed pre-fix because router.refresh() round-trip can't make that budget on a cold Worker). Reactivate likewise within 500ms. DB ground truth confirms both clicks persisted.
Real bug caught mid-Gate 2 — the first prod run revealed that handleToggleActive was reading from cashier.isActive (server prop) instead of optimisticActive (local state), so rapid clicks computed the same next both times. Without this test catching it, the optimistic flip would have looked correct on the first click but silently no-oped the second one. Fixed in commit 655d8fa and all 8 checks passed on the re-run.
Stable regression — two big wins + three chronic flakes.
test-nix-os-68b-prod.mjs — NIX-OS-68B Polish Tier B (new)8/8
test-phase1-prod.mjs — SSO smoke + route auth11/11
test-phase2-sso-outdoor-prod.mjs — Outdoor SSO bridge6/6
test-phase2-cafe-multishop-prod.mjs — Cafe multi-shop6/6
test-m1-prod.mjs — Dashboard/Orders/Reports shop scoping10/10
test-r1-2-landing-prod.mjs — R1.2 landing (popup rewrite)8/8 ↑ from 7/9
test-r1-3-lockable-prod.mjs — R1.3 lockable (picker step)13/13 ↑ from 6/13
test-r1-4-drafts-prod.mjs — R1.4 drafts (after 1 retry)7/9
test-r1-9-daily-report-prod.mjs — NIX-OS-72 Daily Sale Report11/11
test-r1-10-cash-movements-prod.mjs — NIX-OS-71 Cash In/Out12/12
test-nix-os-70-prod.mjs — NIX-OS-70 Personalize Display10/10
test-nix-os-68a-prod.mjs — NIX-OS-68A Polish Tier A (after 1 retry)8/8
test-r1-1-cashiers-prod.mjs — R1.1 (Worker 503 on /cafe/team, transient)1/9
test-nix-os-69-1-prod.mjs — NIX-OS-69.1 (shift-open flake, transient)5/10
test-nix-os-69-2-prod.mjs — NIX-OS-69.2 (shift-open flake, transient)6/11
test-r1-11-telegram-events-prod.mjs — R1 telegram (shift-open flake, transient)8/11
Wins (green): r1-2 and r1-3 have been transient-failing for weeks because the tests were written before R1.3 / R1.3.1 shipped. r1-2 now expects the new-tab popup contract (8/8), r1-3 now includes the cashier-picker step (13/13). These two alone turn 15 stale flakes into green on the regression suite.
Remaining transient flakes: r1-1 (503 on /cafe/team from Worker rate-limiting — hit consistently today under heavy serial load; solo runs earlier in the session passed 9/9), r1-11 + 69.1 + 69.2 share the same shift-open timing flake. Not a 68B regression — all four individually cleared 10/10 or 11/11 on prior gates under lighter traffic. Per-retry protocol honored.

00What shipped

01Optimistic UI — deactivate → reactivate within 500ms each✓ both transitions optimistic

Cashier row after Deactivate click
01 — Deactivate click — Inactive chip + Reactivate button within 500ms.
Cashier row after Reactivate click
02 — Reactivate click — Active chip + Deactivate button within 500ms. DB confirms both clicks persisted.

02Test runner — all 8 prod checks✓ 8/8 passed

Loading…