Repository navigation
Conversation
size-limit report 📦Compared: 72b0363 (PR test merge using develop at d6a317b) Against: ca4fc32 (develop) · base run #62950
|
419b8a2 to
af3e293
Compare
af3e293 to
b435f51
Compare
b435f51 to
e098356
Compare
e098356 to
6da24a1
Compare
769b893 to
3bb11c2
Compare
2a02a85 to
d8aa95d
Compare
|
bugbot run |
d8aa95d to
4f1d836
Compare
|
bugbot run |
4f1d836 to
1a12598
Compare
8b4b976 to
fa4e4a1
Compare
fa4e4a1 to
f26216a
Compare
858fbd8 to
38bcb62
Compare
38bcb62 to
7359cd2
Compare
713f920 to
ed31689
Compare
ed31689 to
a1efbf8
Compare
a1efbf8 to
97d83fb
Compare
|
One or more gzipped bundles increased by more than 500 bytes. If this increase is intentional, add the Accept Bundlesize Increase label to this PR to rerun and accept the check. |
| const tunnelResponse = handleTunnelRequestIfMatched(context.request); | ||
| if (tunnelResponse) { | ||
| return tunnelResponse; | ||
| } |
There was a problem hiding this comment.
A general idea: you added the tunnel in sentryRemixMiddleware but createRequestListener runs earlier, so we could put the tunnel logic there.
wdyt?
There was a problem hiding this comment.
I think it makes sense, currently it didn't cover apps without a router.
Optional E2E testsSome optional checks were not successful. They do not block the merge. 7 failing, 57 successful. See the run.
Successful checks
|
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.
Reviewed by Cursor Bugbot for commit 53b7826. Configure here.
| // of the router could answer the tunnel. Its auth middleware rejects the POSTs that get through. | ||
| if (!process.env.E2E_TEST_PLAIN_SERVER) { | ||
| expect((await page.request.post('/anything', { data: 'x' })).status()).toBe(403); | ||
| } |
There was a problem hiding this comment.
Conditional assertion in tunnel test
Low Severity
Flagged because the review guidelines ask to split a test that uses a conditional for different paths. The E2E_TEST_PLAIN_SERVER branch only asserts the pre-router 403 in one variant, so a failure on that path is easy to miss or misread as a skip.
Triggered by project rule: PR Review Guidelines for Cursor Bot
Reviewed by Cursor Bugbot for commit 53b7826. Configure here.
Sentry's middleware is already prepended to every `createRouter`, so it now answers tunnel requests before route matching and the app's own middleware.
…re the app's own handler


Adds the tunnel wiring to the remix SDK. We already had a middleware so it works by adding the request matching logic there.
The
remix-v3tunnel variant covers it.For reviewers: if you need an overview of what this is, refer to #25199.
closes #25464