Intent of copilotApiService.ts ×3
All 27 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/27 tests-
platform/27 tests-
agentHost/27 tests-
test/27 tests-
node/27 tests-
shared/27 tests-
copilotApiService.test|title=CopilotApiService Shared Behavior streaming and non-streaming hit the same /1 test -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Cancellation cancels the underlying SSE stream after message_stop terminates the generator|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Cancellation cancels the underlying SSE stream when the consumer breaks early|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Cancellation cancels the underlying SSE stream when the generator throws|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService CopilotApiError contract SSE error frame missing message: defaults to "Unknown streaming error"|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService CopilotApiError contract SSE error frame missing type: defaults to api_error|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService CopilotApiError contract SSE error frame with conforming envelope is preserved verbatim (extra fields propagate)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService CopilotApiError contract SSE error frame with full envelope: passthrough type and message|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService CopilotApiError contract SSE error frame with unstructured-string error: uses the string as message|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Raw Event Stream (messages()) message_stop is the last yielded event|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Raw Event Stream (messages()) stops after message_stop even if extra SSE data follows|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Raw Event Stream (messages()) tool_use block events round-trip through messages()|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Raw Event Stream (messages()) yields all six protocol event types in order|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Raw Event Stream (messages()) yields input_json_delta events|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Raw Event Stream (messages()) yields message_delta with stop_reason payload|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Raw Event Stream (messages()) yields thinking_delta events (not filtered by messages())|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Request Format streaming sends stream=true in the body|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses handles a data line split right at the newline boundary|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses handles data split across multiple network chunks|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses handles many small deltas|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses skips event: lines, comment lines, and blank lines|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses survives malformed JSON in the stream (skips the line)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses throws on error event with message|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses throws on error event without message|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses throws on non-200 CAPI response|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses throws when response has no body|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/shared/copilotApiService.test|title=CopilotApiService Streaming Responses yields text deltas from content_block_delta events|occurrence=1
-
-
-
-
-
-