Add schema fetch timeout configuration to signing test#39
Merged
Conversation
…uiltins 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
GsCommand
added a commit
that referenced
this pull request
Mar 20, 2026
Merge pull request #39 from commandlayer/claude/debug-verify-endpoint…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added a schema fetch timeout configuration to the runtime signing test to ensure predictable behavior when fetching schemas during verification.
Changes
SCHEMA_FETCH_TIMEOUT_MS: "50"environment variable to the test setup in the "full chain clean -> summarize -> classify verifies with schema using partial" test caseDetails
This configuration change ensures that schema fetch operations have a defined timeout constraint, which helps test the system's behavior under time-constrained conditions and prevents indefinite hangs during schema retrieval in the verification workflow.
https://claude.ai/code/session_01WNKXjEEi48x86HETyYPhBr