test(smoke): live coverage for multi-route gate classes, per-offer hostname (P1b), x402scan preflight - #720
Merged
Conversation
…stname (P1b), and x402scan preflight (#697)
…ot the shared flow-qwen fixture
The earlier approach mutated the shared flow-qwen offer (added routes[] and
bound a hostname). Binding spec.hostname moved flow-qwen off the storefront
/services/flow-qwen path that flow-08/flow-09 depend on, breaking 'obol buy
inference' ("seller catalog has no entry for /services/flow-qwen"). Revert
the flow-06/07 mutations and instead cover multi-route gate classes
(free/paid/undeclared-fail-closed) and per-offer hostname (P1b) on a
self-contained throwaway offer, mirroring flow-19's pattern. The x402scan
preflight Go unit test is retained. Surfaced by the rc1 spark1 smoke.
Claude-Session: https://claude.ai/code/session_01VquWN9UMaSHH7MHGcG8bw1
This was referenced Jul 8, 2026
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.
Adds live-cluster smoke coverage for route-surface features that previously had only Go unit tests (drift surfaced during rc1 prep).
flow-qwennow declares an explicit route table (/healthfree,/v1/chat/completionspaid) via both the JSON body and--routeCLI flags.flow-07asserts the free route returns 200 without payment and an undeclared sibling fails closed (not 200 — 404 on the live HandleProxy path).flow-06binds a hostname viaobol tunnel hostname add --offer;flow-07verifies the dedicated origin answers viaHost:header against Traefik and that the storefront catch-all does not absorb it. Degrades to SKIP where a permanent tunnel is absent.preflightOpenAPI(all three warning branches incl. the multi-offer shared-origin warning), plus aflow-07assertion thatsell register x402scancorrectly rejects a quick-tunnel origin.Validated by the rc1 release smoke on spark1.
https://claude.ai/code/session_01VquWN9UMaSHH7MHGcG8bw1