ai/atlascloud: fix stale streaming unit test#3324
Merged
Merged
Conversation
Streaming is implemented now (v6.3.3); the old test expected ErrStreamingUnsupported and failed. Replace it with a real SSE streaming test (httptest) that also asserts stream_options.include_usage and the final usage chunk.
asim
pushed a commit
to micro/mu
that referenced
this pull request
Jun 29, 2026
- mesh.StartMCPGateway(addr) runs go-micro's gateway/mcp on a separate port, auto-exposing every registered service as an MCP tool. main starts it only when MCP_GATEWAY_ADDR is set — additive, the existing /mcp is untouched. Verified: /health reports the tool count and /mcp/tools lists the services' methods (schemas derived from handler signatures + @example). - Bump go-micro to v6.3.5: fixes the stale atlascloud streaming unit test (micro/go-micro#3324) — the old test expected ErrStreamingUnsupported but streaming was implemented in v6.3.3; replaced with a real SSE streaming test (content + usage chunk). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KdcPjN9ndJwMGKQSRrAGPE
This was referenced Jun 29, 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.
TestProvider_Stream_NotImplementedexpectedErrStreamingUnsupported, but atlascloud streaming was implemented in v6.3.3 — so the test now hits the API and fails (401 with a test token). Replace it with a real SSE streaming test usinghttptestthat asserts the streamed content,stream_options.include_usage, and the final usage chunk. Mirrors the openai provider's stream test.Generated by Claude Code