Skip to content

Add E2E regression test for GET/HEAD requests with a body (#458) - #101

Open
swapnil-nagar wants to merge 1 commit into
mainfrom
swapnil/streamingTestHardening
Open

Add E2E regression test for GET/HEAD requests with a body (#458)#101
swapnil-nagar wants to merge 1 commit into
mainfrom
swapnil/streamingTestHardening

Conversation

@swapnil-nagar

Copy link
Copy Markdown
Contributor

Adds an end-to-end regression test that sends GET and HEAD requests carrying a body — via the raw http module, since node-fetch refuses GET/HEAD bodies — and asserts the request reaches the handler (status 200) instead of crashing the worker. Extends the shared helloWorld function to accept HEAD (v4 helloWorld.ts and v3 function.json so the test runs across all model configs, notably the non-streaming v4-oldConfig path where #458 reproduced.

@swapnil-nagar
swapnil-nagar requested a review from a team as a code owner July 27, 2026 04:15
@hallvictoria

Copy link
Copy Markdown

If this is a regression test, consider adding it to Watchtower as well?

@swapnil-nagar

Copy link
Copy Markdown
Contributor Author

If this is a regression test, consider adding it to Watchtower as well?

Sure, I will add test to that as well

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.

2 participants