From 29c772ae5c931255d13a744d8d09e1ca3a7be753 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 15:05:39 -0600 Subject: [PATCH] fix(id): hosted smoke expects schema v3 (#13680) Hypothesis confirmed: the smoke's state check still asserted schema version 2 after #3818 bumped SCHEMA_VERSION to 3 in user-do.ts. The unit test already pins 3. Reproduced locally with npm run smoke (schema_version:3 vs 2, SMOKE FAILURES: 1); after the one-line expectation and label change the smoke passes and npm test is 124/124. The assertion stays exact so an un-announced bump still fails. --- pkgs/id/hosted-worker/smoke/smoke.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/id/hosted-worker/smoke/smoke.mjs b/pkgs/id/hosted-worker/smoke/smoke.mjs index d50675b4a0..4a5a4a2245 100644 --- a/pkgs/id/hosted-worker/smoke/smoke.mjs +++ b/pkgs/id/hosted-worker/smoke/smoke.mjs @@ -79,7 +79,7 @@ async function waitUp(port, tries) { check("harness + DO start, lazy create", up); let r = await fetch(base + q(A, A, "us")); let body = await r.json(); - check("state reports binding, jurisdiction, schema v2", body.binding_id === A && body.jurisdiction === "us" && body.schema_version === 2, JSON.stringify(body)); + check("state reports binding, jurisdiction, schema v3", body.binding_id === A && body.jurisdiction === "us" && body.schema_version === 3, JSON.stringify(body)); const many = await Promise.all(Array.from({ length: 8 }, () => fetch(base + q("cccccccccccccccccccccccccccccccc", "cccccccccccccccccccccccccccccccc", "eu")))); check("concurrent first requests all 200 (idempotent bootstrap)", many.every((x) => x.status === 200));