Skip to content

test(sdk): Unavailable request_id round-trips in Go/Python/TS - #310

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
test/sdk-unavailable-request-id-roundtrip
Sep 11, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
test/sdk-unavailable-request-id-roundtrip

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Add Go/Python/TypeScript coverage that Unavailable surfaces request_id / requestId / RequestID and omit-path callers can retry with that identity.
  • Includes bridge-envelope decode (Go helper + Python _decode_response) and command-level FakeRuntime retry reuse.
  • Does not auto-retry inside language SDKs, flip B2 harness close, or claim hosted KVM Live.

Test plan

  • Python: test_unavailable_error_preserves_request_id_from_bridge, test_command_unavailable_preserves_request_id_for_retry
  • TypeScript: npm test in sdk/typescript
  • CI SDK Packages (includes go test ./...)

Made with Cursor

Prove bridge decode and omit-path command retry reuse the surfaced
request identity without inventing {id}.retry-N or flipping B2.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit cabc4b8 into main Sep 11, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the test/sdk-unavailable-request-id-roundtrip branch September 11, 2026 07:23
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