Intent of loopbackProxyServer.ts ×1
All 43 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/43 tests-
platform/43 tests-
agentHost/43 tests-
test/43 tests-
node/43 tests-
claudeProxyService.test|title=ClaudeProxyService POST /4 tests-
v1/4 tests-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService POST /v1/messages model translation SDK ID inbound is translated to endpoint ID upstream|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService POST /v1/messages model translation endpoint ID inbound is also accepted|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService POST /v1/messages model translation non-streaming response model is rewritten to SDK format|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService POST /v1/messages model translation unparseable model → 404 with no upstream call|occurrence=1
-
-
-
codex/6 tests-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/codex/codexProxyService.test|title=CodexProxyService forwards the auto-review reviewer model unchanged when no primary model has been seen|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/codex/codexProxyService.test|title=CodexProxyService forwards transformed user-agent to CAPI responses|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/codex/codexProxyService.test|title=CodexProxyService keeps the suffix when transforming a multi-segment user-agent|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/codex/codexProxyService.test|title=CodexProxyService omits User-Agent when the inbound request has none|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/codex/codexProxyService.test|title=CodexProxyService remaps the reviewer model onto the most recent primary model|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/codex/codexProxyService.test|title=CodexProxyService remaps the unsupported auto-review reviewer model onto the last primary model|occurrence=1
-
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService decodes a url-encoded vendor path segment|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService forwards a chat request to the bridge and streams an SSE completion|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService rejects a malformed JSON body with 400|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService returns a 502 when the bridge reports an error|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService returns a 502 when the bridge throws|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService returns a 503 when no renderer bridge is connected|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService routes requests to a serving window and excludes a non-serving one|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/byokLmProxyService.test|title=ByokLmProxyService streams assistant tool calls as OpenAI tool_call deltas|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Abort client disconnect mid-stream propagates AbortSignal upstream and writes nothing else|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Abort dispose() with in-flight non-streaming aborts the upstream call|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Body validation missing messages field → 400|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Body validation missing model field → 400|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Body validation non-JSON body → 400|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Credits reporting no copilot_usage in the response → no credits report|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Credits reporting non-streaming: copilot_usage.total_nano_aiu fires onDidReportCredits|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Credits reporting streaming: copilot_usage.total_nano_aiu fires onDidReportCredits with the session id|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough drops supported family without date suffix|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough drops x-request-id and arbitrary headers|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough filters out unsupported betas|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough forwards anthropic-version verbatim|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough forwards supported anthropic-beta|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough mixed beta list keeps supported entries only|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming emits SSE frames in order with hand-rolled framing and rewrites message_start.message.model|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming mid-stream CopilotApiError → SSE error frame, then end, no message_stop after|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming mid-stream non-CopilotApiError → synthesized SSE error frame|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming pre-stream CopilotApiError with streaming sentinel coerces to 502 but preserves envelope|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming pre-stream CopilotApiError → JSON error response with original status|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming socket.setNoDelay(true) is called on streaming responses|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming thinking_delta events pass through|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming tool-use input_json_delta events pass through|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotSessionLauncher.test|title=resolveByokSessionConfig synthesized provider config routes through a live proxy to the bridge|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/loopbackProxyServer.test|title=LoopbackProxyServer readProxyRequestBody reads the full request body as UTF-8|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/loopbackProxyServer.test|title=LoopbackProxyServer readProxyRequestBody resolves to an empty string for a body-less request|occurrence=1
-
-
-
-
-