Skip to content

test(smoke): live coverage for multi-route gate classes, per-offer hostname (P1b), x402scan preflight - #720

Merged
bussyjd merged 2 commits into
integration/v0.13.0-rc1from
smoke/route-surface-live
Jul 8, 2026
Merged

test(smoke): live coverage for multi-route gate classes, per-offer hostname (P1b), x402scan preflight#720
bussyjd merged 2 commits into
integration/v0.13.0-rc1from
smoke/route-surface-live

Conversation

@bussyjd

@bussyjd bussyjd commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Adds live-cluster smoke coverage for route-surface features that previously had only Go unit tests (drift surfaced during rc1 prep).

  • Multi-route gate classes (feat(sell): multi-routes and async jobs #717): flow-qwen now declares an explicit route table (/health free, /v1/chat/completions paid) via both the JSON body and --route CLI flags. flow-07 asserts the free route returns 200 without payment and an undeclared sibling fails closed (not 200 — 404 on the live HandleProxy path).
  • Per-offer hostname / P1b: flow-06 binds a hostname via obol tunnel hostname add --offer; flow-07 verifies the dedicated origin answers via Host: header against Traefik and that the storefront catch-all does not absorb it. Degrades to SKIP where a permanent tunnel is absent.
  • x402scan feat(x402): register to x402scan via cli #697: new Go unit test for the previously-untested preflightOpenAPI (all three warning branches incl. the multi-offer shared-origin warning), plus a flow-07 assertion that sell register x402scan correctly rejects a quick-tunnel origin.

Validated by the rc1 release smoke on spark1.

https://claude.ai/code/session_01VquWN9UMaSHH7MHGcG8bw1

bussyjd added 2 commits July 8, 2026 15:19
…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
@bussyjd
bussyjd merged commit 76a919c into integration/v0.13.0-rc1 Jul 8, 2026
@bussyjd
bussyjd deleted the smoke/route-surface-live branch July 8, 2026 12:48
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.

1 participant