René's URL Explorer Experiment


Title: fix(hono): Distinguish `.use()` middleware in sub-apps from `.all()` handlers by s1gr1d · Pull Request #20554 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(hono): Distinguish `.use()` middleware in sub-apps from `.all()` handlers by s1gr1d · Pull Request #20554 · getsentry/sentry-javascript

X Title: fix(hono): Distinguish `.use()` middleware in sub-apps from `.all()` handlers by s1gr1d · Pull Request #20554 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Previously, Hono .route() was patched by checking for an 'ALL' handler (as those are used as middleware) to detect middleware in Hono sub-apps. But this incorrectly treated .all() final han...

X Description: Previously, Hono .route() was patched by checking for an 'ALL' handler (as those are used as middleware) to detect middleware in Hono sub-apps. But this incorrectly treated .all() f...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/20554

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d853f306-e9d5-3c5b-d640-7b265a1ec0ba
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA066:D405E:3F705CB:53B5877:6B045CFC
html-safe-nonce4fe041db229e2eab148b3a1b79d335a25b00dea84e46441ebff7605a6d379027
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDY2OkQ0MDVFOjNGNzA1Q0I6NTNCNTg3Nzo2QjA0NUNGQyIsInZpc2l0b3JfaWQiOiI0MDA4NDMwODg2ODEwMDQ5Nzg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb0d3ee813ff0b5bd6e37a5e9d2a33d4942f59df2d10fa49c1cedcf088a639885
hovercard-subject-tagpull_request:3594537423
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/20554/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/13793d40d405c312c3f1780f9d4131b210ad0b6f247ba14afc043a7ef5b1c7b6/getsentry/sentry-javascript/pull/20554
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/13793d40d405c312c3f1780f9d4131b210ad0b6f247ba14afc043a7ef5b1c7b6/getsentry/sentry-javascript/pull/20554
og:image:altPreviously, Hono .route() was patched by checking for an 'ALL' handler (as those are used as middleware) to detect middleware in Hono sub-apps. But this incorrectly treated .all() final han...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernames1gr1d
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/20554#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20554
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20554
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20554
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20554
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20554
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
s1gr1dhttps://github.com/s1gr1d
develophttps://github.com/getsentry/sentry-javascript/tree/develop
sig/hono-route-pattern-testshttps://github.com/getsentry/sentry-javascript/tree/sig/hono-route-pattern-tests
Conversationhttps://github.com/getsentry/sentry-javascript/pull/20554
Commits5 (5)https://github.com/getsentry/sentry-javascript/pull/20554/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/20554/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/20554/files
fix(hono): Distinguish .use() middleware in sub-apps from .all() handlershttps://github.com/getsentry/sentry-javascript/pull/20554#top
s1gr1dhttps://github.com/s1gr1d
develophttps://github.com/getsentry/sentry-javascript/tree/develop
sig/hono-route-pattern-testshttps://github.com/getsentry/sentry-javascript/tree/sig/hono-route-pattern-tests
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Apr 28, 2026https://github.com/getsentry/sentry-javascript/pull/20554#issue-4341577135
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
https://github.com/getsentry/sentry-javascript/blob/5d0d14531511fcd703438e072723ef98cd700ea3/dev-packages/node-integration-tests/suites/tracing/hono/test.tshttps://github.com/getsentry/sentry-javascript/blob/5d0d14531511fcd703438e072723ef98cd700ea3/dev-packages/node-integration-tests/suites/tracing/hono/test.ts
#15260https://github.com/getsentry/sentry-javascript/issues/15260
#20449https://github.com/getsentry/sentry-javascript/issues/20449
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Apr 28, 2026https://github.com/getsentry/sentry-javascript/pull/20554#event-24938368704
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 28, 2026https://github.com/getsentry/sentry-javascript/pull/20554#issuecomment-4333529960
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/25101016296
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
April 28, 2026 08:28https://github.com/getsentry/sentry-javascript/pull/20554#event-24938941652
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
April 28, 2026 12:03https://github.com/getsentry/sentry-javascript/pull/20554#event-24946360526
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
April 28, 2026 12:03https://github.com/getsentry/sentry-javascript/pull/20554#event-24946367702
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 28, 2026 https://github.com/getsentry/sentry-javascript/pull/20554#pullrequestreview-4189581529
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20554/files
chargomehttps://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/20554#pullrequestreview-4189581529
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
packages/hono/src/shared/patchRoute.tshttps://github.com/getsentry/sentry-javascript/pull/20554/files#diff-60669ff923c95cdf4ee65361c1423528fad9062b200b5be2bae6453fce29bbab
chargomehttps://github.com/chargome
Apr 28, 2026https://github.com/getsentry/sentry-javascript/pull/20554#discussion_r3154799400
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
packages/hono/src/shared/middlewareHandlers.tshttps://github.com/getsentry/sentry-javascript/pull/20554/files#diff-1bb193fec611e3980cd6683942d5c4517728b440ce7279cfece38deaac26a49e
chargomehttps://github.com/chargome
Apr 28, 2026https://github.com/getsentry/sentry-javascript/pull/20554#discussion_r3154893387
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
packages/hono/src/shared/patchRoute.tshttps://github.com/getsentry/sentry-javascript/pull/20554/files#diff-60669ff923c95cdf4ee65361c1423528fad9062b200b5be2bae6453fce29bbab
chargomehttps://github.com/chargome
Apr 28, 2026https://github.com/getsentry/sentry-javascript/pull/20554#discussion_r3154896293
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
s1gr1dhttps://github.com/s1gr1d
April 29, 2026 10:45https://github.com/getsentry/sentry-javascript/pull/20554#commits-pushed-fad482f
https://github.com/s1gr1d
fix(hono): Use arity heuristic to distinguish .use() middleware from …https://github.com/getsentry/sentry-javascript/pull/20554/commits/fad482f366b734333dee2219ae6b0a325e91609f
fad482fhttps://github.com/getsentry/sentry-javascript/pull/20554/commits/fad482f366b734333dee2219ae6b0a325e91609f
https://github.com/s1gr1d
test(hono): Add E2E and unit tests for middleware tracing and route p…https://github.com/getsentry/sentry-javascript/pull/20554/commits/b92fc69a899a11160e8986f2b1459c8e9e8b7318
b92fc69https://github.com/getsentry/sentry-javascript/pull/20554/commits/b92fc69a899a11160e8986f2b1459c8e9e8b7318
https://github.com/s1gr1d
increase size limitshttps://github.com/getsentry/sentry-javascript/pull/20554/commits/fbd0b0b96243afe38ac9fee689b0ec6ec0a39f5e
fbd0b0bhttps://github.com/getsentry/sentry-javascript/pull/20554/commits/fbd0b0b96243afe38ac9fee689b0ec6ec0a39f5e
https://github.com/s1gr1d
remove alreadyCaptured, add testshttps://github.com/getsentry/sentry-javascript/pull/20554/commits/011bfd60f2ba85ed05adf73dfe87083d52b86225
011bfd6https://github.com/getsentry/sentry-javascript/pull/20554/commits/011bfd60f2ba85ed05adf73dfe87083d52b86225
https://github.com/s1gr1d
improve commenthttps://github.com/getsentry/sentry-javascript/pull/20554/commits/fb1626e7e6d8abcac7e18ace50dac416a43b1921
fb1626ehttps://github.com/getsentry/sentry-javascript/pull/20554/commits/fb1626e7e6d8abcac7e18ace50dac416a43b1921
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/13573974562a2a9aea31a22ccd5b500bbeb5cf08..fb1626e7e6d8abcac7e18ace50dac416a43b1921
1357397https://github.com/getsentry/sentry-javascript/commit/13573974562a2a9aea31a22ccd5b500bbeb5cf08
fb1626ehttps://github.com/getsentry/sentry-javascript/commit/fb1626e7e6d8abcac7e18ace50dac416a43b1921
Compare https://github.com/getsentry/sentry-javascript/compare/13573974562a2a9aea31a22ccd5b500bbeb5cf08..fb1626e7e6d8abcac7e18ace50dac416a43b1921
April 29, 2026 10:00https://github.com/getsentry/sentry-javascript/pull/20554#event-24984209863
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
April 29, 2026 10:07https://github.com/getsentry/sentry-javascript/pull/20554#event-24984429586
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
1166839https://github.com/getsentry/sentry-javascript/commit/1166839112c4766f210124dc0486ebbfd6db104b
Apr 29, 2026https://github.com/getsentry/sentry-javascript/pull/20554#event-24984787819
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
April 29, 2026 10:16https://github.com/getsentry/sentry-javascript/pull/20554#event-24984788749
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Apr 29, 2026 https://github.com/getsentry/sentry-javascript/pull/20554#ref-issue-4350740650
publish: getsentry/sentry-javascript@10.51.0 getsentry/publish#7981 https://github.com/getsentry/publish/issues/7981
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20554
https://github.com/chargome
chargome https://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/20554/files/13573974562a2a9aea31a22ccd5b500bbeb5cf08
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20554
https://github.com/s1gr1d
https://github.com/chargome
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.