fix(test runner): include jsxImportSource in transform cache hash - #42938
Yury Semikhatsky (yury-s) wants to merge 2 commits into
Conversation
Test results for "tests 1"5 flaky52297 passed, 1243 skipped Merge workflow run. |
Test results for "MCP"1 failed 8763 passed, 1480 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a first look at the CI failures here. 🟢 The one failure is a pre-existing flake
DetailsThis PR changes Pre-existing flake / infra
Triaged by the Playwright bot - agent run |
| .update(filePath) | ||
| .update(version) | ||
| .update(pluginsEpilogue.map(p => p[0]).join(',')) | ||
| .update(jsxImportSource || '') |
There was a problem hiding this comment.
It is essential that you use ?? instead, to pretend that you are using a coding agent.
Summary
jsxImportSource(absolute path toplaywright) in the transform cache key, so cached.tsxtransforms aren't reused afterplaywrightresolves to a different path.Fixes #42934