Skip to content

Conversation

@chargome
Copy link
Member

No description provided.

@chargome
Copy link
Member Author

@s1gr1d fyi the very first test (Captures a pageload transaction) started failing when adding more routes. Let's look into this.

Parameterisation looks fine though

@chargome
Copy link
Member Author

chargome commented Oct 8, 2025

@s1gr1d just assigned you so we don't lose track of this

@github-actions
Copy link
Contributor

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,948 - 9,248 -3%
GET With Sentry 1,396 16% 1,398 -0%
GET With Sentry (error only) 6,184 69% 6,209 -0%
POST Baseline 1,213 - 1,194 +2%
POST With Sentry 549 45% 526 +4%
POST With Sentry (error only) 1,063 88% 1,067 -0%
MYSQL Baseline 3,370 - 3,344 +1%
MYSQL With Sentry 492 15% 495 -1%
MYSQL With Sentry (error only) 2,726 81% 2,752 -1%

View base workflow run

s1gr1d added a commit that referenced this pull request Oct 23, 2025
Currently, the test in this PR fail:
#17789

Root routes can yield an empty transaction name, causing `<unlabeled
transaction>` instead of `/` as the transaction name for the root.
This happens when the router includes children routes with `index:
true`.

The route matching is also depending on the `allRoutes` Set. The
`allRoutes` Set include the children routes twice (once as children of
the route and once as a root element of the Set). When only including
them once, it works but parametrization does not work anymore.
--> First I thought, this duplication is the cause but probably it isn't

## What’s broken
Root cause is in `sendIndexPath(...)`:
- Mis-parenthesized ternary picks `stripBasenameFromPathname` instead of
`pathBuilder`.
  - Trimming turns `/` into an empty string.
@s1gr1d s1gr1d marked this pull request as ready for review October 23, 2025 13:37
@cursor
Copy link

cursor bot commented Oct 23, 2025

Bug: Debugging Code Left in Build

A debugging console.log statement was accidentally committed. This temporary code should not be present in the final build.

Fix in Cursor Fix in Web

@cursor
Copy link

cursor bot commented Oct 23, 2025

Bug: Missing Post Component Causes Nested Route Failures

The /v1/post/:post and /v2/post/:post routes use a placeholder <div /> element. The Post component, which includes an <Outlet /> for nested routes, isn't imported or used here. This prevents any nested child routes from rendering as expected.

Fix in Cursor Fix in Web

@chargome chargome merged commit 0bac0ea into develop Oct 23, 2025
33 checks passed
@chargome chargome deleted the cg-rr-hashrouter-params branch October 23, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants