Skip to content

Add schema fetch timeout configuration to signing test#39

Merged
GsCommand merged 1 commit intomainfrom
claude/debug-verify-endpoint-h3GcK
Mar 20, 2026
Merged

Add schema fetch timeout configuration to signing test#39
GsCommand merged 1 commit intomainfrom
claude/debug-verify-endpoint-h3GcK

Conversation

@GsCommand
Copy link
Contributor

Summary

Added a schema fetch timeout configuration to the runtime signing test to ensure predictable behavior when fetching schemas during verification.

Changes

  • Added SCHEMA_FETCH_TIMEOUT_MS: "50" environment variable to the test setup in the "full chain clean -> summarize -> classify verifies with schema using partial" test case
  • This sets a 50ms timeout for schema fetching operations during the test execution

Details

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

…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 GsCommand merged commit 512172b into main Mar 20, 2026
1 check failed
GsCommand added a commit that referenced this pull request Mar 20, 2026
Merge pull request #39 from commandlayer/claude/debug-verify-endpoint…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants