Skip to content

add spector test for jsonl - #6201

Merged
Chenjie Shi (tadelesh) merged 8 commits into
mainfrom
spector-jsonl
Mar 10, 2025
Merged

Chenjie Shi (tadelesh) merged 8 commits into
mainfrom
spector-jsonl

Conversation

@tadelesh

Copy link
Copy Markdown
Member

No description provided.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the lib:http-specs For issues/prs related to the @typespec/http-specs package label Feb 28, 2025
@tadelesh

Copy link
Copy Markdown
Member Author

when regen doc for spector, i encountered this error. Timothee Guerin (@timotheeguerin) is it a problem in spector or in http lib?
image

@azure-sdk

Azure SDK Bot (azure-sdk) commented Feb 28, 2025 •

Copy link
Copy Markdown
Collaborator

All changed packages have been documented.

  • ✅ @typespec/http-specs
  • ✅ @typespec/spector
Show changes

@typespec/http-specs - feature ✏️

Add tests for basic jsonl streaming.

@typespec/spector - feature ✏️

Support application/jsonl as binary.

@azure-sdk

Azure SDK Bot (azure-sdk) commented Feb 28, 2025 •

Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the "pass" criteria for the test :-)

For the simple version, it would just be binary of such input/output to/from the API?

@tadelesh

Copy link
Copy Markdown
Member Author

What would be the "pass" criteria for the test :-)

For the simple version, it would just be binary of such input/output to/from the API?

i think so. currently, we could only need to support send request or receive response with binary payload.

@tadelesh

Copy link
Copy Markdown
Member Author

Timothee Guerin (@timotheeguerin) could you help to review? i did not add full support of streaming for spector, just add make sure jsonl could be tested with binary send/receive way.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just don't thikn the new name is much better, but the content is good up to you what to do

Merged via the queue into main with commit 8127b23 Mar 10, 2025
@tadelesh
Chenjie Shi (tadelesh) deleted the spector-jsonl branch March 10, 2025 03:22
Dmitrii Sedelnikov (dmnorc) pushed a commit to dmnorc/typespec that referenced this pull request Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib:http-specs For issues/prs related to the @typespec/http-specs package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants