Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-Proxy silently crashes on invalid variables input #9757

Open
scbedd opened this issue Jan 31, 2025 · 1 comment
Open

Test-Proxy silently crashes on invalid variables input #9757

scbedd opened this issue Jan 31, 2025 · 1 comment
Assignees
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. Test-Proxy Anything relating to test-proxy requests or issues.

Comments

@scbedd
Copy link
Member

scbedd commented Jan 31, 2025

Somehow providing this invalid body:

{"Variables": {"Hello": "World" }}

is causing a totally silent crash. No message whatsoever. Should not be possible.

We need to update the test-proxy typespec as well.

@scbedd scbedd self-assigned this Jan 31, 2025
@scbedd scbedd added the Test-Proxy Anything relating to test-proxy requests or issues. label Jan 31, 2025
@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 31, 2025
@heaths
Copy link
Member

heaths commented Jan 31, 2025

FWIW, I only did this because the TypeSpec didn't specify to flatten it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. Test-Proxy Anything relating to test-proxy requests or issues.
Projects
Status: 🤔 Triage
Development

No branches or pull requests

2 participants