Skip to content

ai/atlascloud: fix stale streaming unit test#3324

Merged
asim merged 1 commit into
masterfrom
fix/atlascloud-stream-test
Jun 29, 2026
Merged

ai/atlascloud: fix stale streaming unit test#3324
asim merged 1 commit into
masterfrom
fix/atlascloud-stream-test

Conversation

@asim

@asim asim commented Jun 29, 2026

Copy link
Copy Markdown
Member

TestProvider_Stream_NotImplemented expected ErrStreamingUnsupported, 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 using httptest that asserts the streamed content, stream_options.include_usage, and the final usage chunk. Mirrors the openai provider's stream test.


Generated by Claude Code

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 asim merged commit 5ee3a52 into master Jun 29, 2026
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
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