Repository navigation
test(tanstackstart-react): Add source map E2E app - #25363
Conversation
8613745 to
1d9d414
Compare
|
bugbot run |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1d9d414. Configure here.
| // TODO: The uploader passes the emitted file paths to `glob` as patterns, so it skips a file whose path has glob | ||
| // characters, like Nitro's `_libs/@tanstack/react-router+[...].mjs`. Remove this when the uploader matches paths literally. |
JPeer264
left a comment
There was a problem hiding this comment.
LGTM. Tests fail though because the pnpm-workspace is missing
Build a TanStack Start app with Nitro against a mock Sentry server and check the upload: the source maps carry the client and server source, their source paths are relative to the project root, every debug ID has an uploaded source map, and no source map stays in the build output. The app is optional in CI because Nitro 3 is in beta.
Both markers are in the same route file, which client and server source maps embed completely, so one uploaded map could pass both checks. Check each marker only in the source maps of the files in its output directory, matched by debug ID.
Install test-utils from the tarball, pin Playwright to 1.64.1 and add the app's pnpm-workspace.yaml.
326632b to
cdd46bc
Compare
Optional E2E testsAll optional checks were successful. 1 successful. See the run. Successful checks
|
size-limit report 📦Compared: 9d65457 (PR test merge using develop at 6def2d7) Against: 6def2d7 (develop) · base run #63362 ✅ Baseline matches: this diff contains only this PR's changes.
|

Adds the
tanstackstart-react-sourcemapsE2E app. It builds a TanStack Start app with Nitro against a mock Sentry server and checks the upload:The app is optional in CI because Nitro 3 is in beta.
Stacked on #25360.
Refs #21012