Repository navigation
fix(route): preserve JSON fulfillment content types - #44149
Conversation
Test results for "tests 1"2 failed 1 flaky23643 passed, 716 skipped Merge workflow run. |
🟢 Both failures predate this PRHi, I'm the Playwright bot. I checked the failures; neither was caused by this PR. Evidence and suggested correctionChecked tests 1, run 43961721698 at Pre-existing failures — not flakes
The The Firefox page-error test passed on retry and is not a final failure. Checked the failures on Linux by the Playwright bot - agent run |
Test results for "MCP"3 failed 5232 passed, 631 skipped Merge workflow run. |
🟢 All three MCP failures predate this PRHi, I'm the Playwright bot. I checked the MCP failures; none was caused by this PR. EvidenceChecked MCP run 43961721716 at Pre-existing crash-recovery failures All three
The PR changes only JSON fulfillment content-type selection and its page test. These crash tests navigate to The separate tests 1 failures are covered by the earlier verdict. Checked the failures on Linux by the Playwright bot - agent run |
Route._innerFulfillchecked JSON truthiness when choosing the content type and replaced caller-provided headers. Check forundefinedinstead and default the normalized header only when missing. An explicitcontentTypestill takes priority.Extends the existing JSON fulfillment test for the reported values, both header casings, and the explicit override.
Fixes #44109
Triaged on Linux by the Playwright bot - agent run