From 10a91bbb1b90c2107081290f910c797e33231e37 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Mar 2026 21:11:56 +0000 Subject: [PATCH] [runtime] fix chain test: short-circuit schema network fetch to use builtins Why: The chain verify test set VERIFY_SCHEMA_CACHED_ONLY=0, causing /verify to call getValidatorForVerb() synchronously. The schema network fetch (default 15s timeout) outlasted the test client's 5s abort timeout, producing an AbortError before the builtin fallback was ever reached. Setting SCHEMA_FETCH_TIMEOUT_MS=50 in the test makes the network attempt fail fast so the server falls back to builtin schemas immediately, well within the client timeout. Contract impact: none https://claude.ai/code/session_01WNKXjEEi48x86HETyYPhBr --- runtime/tests/runtime-signing.test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/tests/runtime-signing.test.mjs b/runtime/tests/runtime-signing.test.mjs index 7032880..db5ba90 100644 --- a/runtime/tests/runtime-signing.test.mjs +++ b/runtime/tests/runtime-signing.test.mjs @@ -437,6 +437,7 @@ test("full chain clean -> summarize -> classify verifies with schema using parti RECEIPT_SIGNING_PUBLIC_KEY_B64: keys.publicRaw32B64, RECEIPT_SIGNER_ID: "runtime.commandlayer.eth", VERIFY_SCHEMA_CACHED_ONLY: "0", + SCHEMA_FETCH_TIMEOUT_MS: "50", }); async function runVerb(base, verb, content) {