Add TypeScript Spector coverage for multipart and optional response bodies - #5411
Merged
Jialin Huang (JialinHuang803) merged 2 commits intoSep 7, 2026
Merged
Conversation
|
Azure Pipelines: 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started work on behalf of
Jialin Huang (JialinHuang803)
September 7, 2026 03:36
View session
Co-authored-by: JialinHuang803 <139532647+JialinHuang803@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Verify and implement Spector integration tests for scenario groups
Add TypeScript Spector coverage for multipart and optional response bodies
Sep 7, 2026
Jialin Huang (JialinHuang803)
marked this pull request as ready for review
September 7, 2026 05:45
commit: |
Contributor
|
You can try these changes here
|
Qiaoqiao Zhang (qiaozha)
approved these changes
Sep 7, 2026
Qiaoqiao Zhang (qiaozha)
left a comment
Member
There was a problem hiding this comment.
please check whether those MFD related issues are resolved and could be closed?
Member
The items listed in the #4757 are not covered by these spector tests. Let's keep the issue open. |
Jialin Huang (JialinHuang803)
deleted the
copilot/verify-implement-spector-tests
branch
September 7, 2026 10:56
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.
Adds TypeScript integration coverage for 19 supported Spector scenarios. Unsupported SSE protocol handling and XML continuation remain excluded with concise blockers.
Spector test results
Streaming_Sse_Protocol_DatawithEnvelope— generated clients expose raw streams without typed SSE event parsing.withoutEnvelope— generated clients expose raw streams without typed SSE event parsing.Streaming_Sse_Protocolid— SSE ID metadata is not parsed.invalidId— SSE ID validation is not implemented.invalidRetry— SSE retry metadata is not parsed.reconnect— reconnection andLast-Event-IDhandling are not implemented.retry— SSE retry metadata is not parsed.Response_BodyOrNoContent—response-body-or-no-content.test.tsgetBodygetNoContentPayload_Pageable_XmlPagination—payload-pageable.test.tslistWithContinuation— iteration stops after the first XML page without sending the continuation marker.Payload_MultiPart_FormData—payload-multipart.test.tsanonymousModelbasicbinaryArrayPartscheckFileNameAndContentTypefileArrayAndBasicjsonPartmultiBinaryPartsoptionalPartswithWireNamePayload_MultiPart_FormData_HttpParts_ContentType—payload-multipart.test.tsimageJpegContentTypeoptionalContentTyperequiredContentTypePayload_MultiPart_FormData_HttpParts—payload-multipart.test.tsjsonArrayAndFileArrayPayload_MultiPart_FormData_HttpParts_NonString—payload-multipart.test.tsfloatPayload_MultiPart_FormData_File—payload-multipart.test.tsuploadFileArrayuploadFileRequiredFilenameuploadFileSpecificContentType