René's URL Explorer Experiment


Title: fix(devframe): return complete connection metadata from dev server handles by SaKaNa-Y · Pull Request #484 · devframes/devframe · GitHub

Open Graph Title: fix(devframe): return complete connection metadata from dev server handles by SaKaNa-Y · Pull Request #484 · devframes/devframe

X Title: fix(devframe): return complete connection metadata from dev server handles by SaKaNa-Y · Pull Request #484 · devframes/devframe

Description: Summary With WebSocket disabled, createDevServer() opens an HTTP listener and then throws before returning the handle needed to close it. With WebSocket and SSE enabled, the handle advertises only WebSocket. HTTP discovery also omits the names of strict JSON methods, so an RPC client can send a Map to a handler that expects JSON. Return a closable handle for each transport configuration. Both discovery paths read the strict JSON method names from the current RPC registry, including methods registered after startup. Each call to handle.connectionMeta() returns a fresh JSON snapshot, so static configuration values such as URL have the same representation as in HTTP discovery. For a devframe mounted at /nested/tool/, callers can reach the same MCP route from either descriptor. Same-origin WebSocket and SSE paths follow the same rule. If the endpoint is the mount root, HTTP discovery advertises ./ and the handle advertises /nested/tool/. Source Advertised MCP path Resolve against handle.connectionMeta() /nested/tool/tools/mcp handle.origin __connection.json tools/mcp Discovery document URL Evidence Real WebSocket and SSE calls use both discovery paths. A strict JSON method accepts a plain object and rejects a Map before the handler runs. An unflagged method round-trips the same Map. Before the snapshot fix, initializing MCP through the nested handle returned 404, and reading a handle with a URL in its static configuration threw DataCloneError. The regression tests now initialize MCP through both descriptors and read the same URL string from both. Mutating a handle snapshot leaves subsequent snapshots and HTTP discovery intact. With a mount-root route, HTTP discovery previously sent clients to /. The regression tests now make WebSocket and SSE calls and initialize MCP through both descriptors at the nested mount root. The lifecycle tests close the SSE-only and HTTP-only handles and verify port reuse. The SSE-only test also verifies registry cleanup. Local lint, documentation lint, Knip, typecheck and build passed. The full Vitest run passed 1,869 tests with 14 skipped on Node 26.8.1. Merge Danger Door: Two-way. The patch can be reverted without a data migration. Blast Radius: Live connection discovery. RPC clients using a strict JSON method now reject unsupported values before dispatch. An incorrect path or method list can prevent a connection or select the wrong encoding.

Open Graph Description: Summary With WebSocket disabled, createDevServer() opens an HTTP listener and then throws before returning the handle needed to close it. With WebSocket and SSE enabled, the handle advertises only ...

X Description: Summary With WebSocket disabled, createDevServer() opens an HTTP listener and then throws before returning the handle needed to close it. With WebSocket and SSE enabled, the handle advertises only ...

Opengraph URL: https://github.com/devframes/devframe/pull/484

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:79775be9-87dc-4c2c-ce83-6dadd175326c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB7C:5A439:7BA601:ADF87A:6AFB6AEF
html-safe-nonce4ccba06ac1c99c93cc9800d0b593bd4e6ca07faa57ec9de49d770d47f57a4122
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjdDOjVBNDM5OjdCQTYwMTpBREY4N0E6NkFGQjZBRUYiLCJ2aXNpdG9yX2lkIjoiMTAwMTQ1OTYzNTAzMjEyNDE0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7e34ecf750c9ee5e4415e989aad0fc9c70eb57fbdf9dc92f27b0785a9bf3c8ca
hovercard-subject-tagpull_request:5167785947
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/devframes/devframe/pull/484/files
twitter:imagehttps://avatars.githubusercontent.com/u/185575200?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/185575200?s=400&v=4
og:image:altSummary With WebSocket disabled, createDevServer() opens an HTTP listener and then throws before returning the handle needed to close it. With WebSocket and SSE enabled, the handle advertises only ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/devframes/devframe git https://github.com/devframes/devframe.git
octolytics-dimension-user_id279879373
octolytics-dimension-user_logindevframes
octolytics-dimension-repository_id1231722386
octolytics-dimension-repository_nwodevframes/devframe
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1231722386
octolytics-dimension-repository_network_root_nwodevframes/devframe
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/devframes/devframe/pull/484/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F484%2Ffiles
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%2Fdevframes%2Fdevframe%2Fpull%2F484%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=devframes%2Fdevframe
Reloadhttps://github.com/devframes/devframe/pull/484/files
Reloadhttps://github.com/devframes/devframe/pull/484/files
Reloadhttps://github.com/devframes/devframe/pull/484/files
devframeshttps://github.com/devframes
devframehttps://github.com/devframes/devframe
Codehttps://github.com/devframes/devframe
Issues12 (12)https://github.com/devframes/devframe/issues
Pull requests13 (13)https://github.com/devframes/devframe/pulls
Actionshttps://github.com/devframes/devframe/actions
Security and qualityhttps://github.com/devframes/devframe/security
Insightshttps://github.com/devframes/devframe/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
SaKaNa-Yhttps://github.com/SaKaNa-Y
devframes:mainhttps://github.com/devframes/devframe/tree/main
SaKaNa-Y:fix/dev-server-sse-handlehttps://github.com/SaKaNa-Y/devframe/tree/fix/dev-server-sse-handle
Conversation 2 https://github.com/devframes/devframe/pull/484
Commits 7 https://github.com/devframes/devframe/pull/484/commits
Checks 14 https://github.com/devframes/devframe/pull/484/checks
Files changed 9 https://github.com/devframes/devframe/pull/484/files
fix(devframe): return complete connection metadata from dev server handles https://github.com/devframes/devframe/pull/484/files#top
Show all changes 7 commits https://github.com/devframes/devframe/pull/484/files
c87d01c fix(devframe): return complete dev server handles for SSE SaKaNa-Y Nov 5, 2026 https://github.com/devframes/devframe/pull/484/commits/c87d01c7257e75573d7d8b704996969b77931f37
70282fa fix(devframe): publish strict JSON methods in live discovery SaKaNa-Y Nov 7, 2026 https://github.com/devframes/devframe/pull/484/commits/70282fac5ee4affe9d561989bf659c6505c1ab22
41b1f66 fix(devframe): preserve mounted RPC paths in dev server snapshots SaKaNa-Y Nov 7, 2026 https://github.com/devframes/devframe/pull/484/commits/41b1f6641a90c95d715427125b0cca398bf5e0c9
fd48a7c fix(devframe): align handle snapshots with HTTP discovery SaKaNa-Y Nov 8, 2026 https://github.com/devframes/devframe/pull/484/commits/fd48a7c228b9b6d2ad062e5d42c83c9e284bc1ad
78f1734 Merge branch 'main' into fix/dev-server-sse-handle SaKaNa-Y Nov 14, 2026 https://github.com/devframes/devframe/pull/484/commits/78f1734c2bb1a5d5813f8902b6443f5556e53903
6a3df70 fix(devframe): resolve mount-root endpoints from discovery SaKaNa-Y Nov 16, 2026 https://github.com/devframes/devframe/pull/484/commits/6a3df7046e15ebf99bf4e200e3a88a811217c647
0a4222d Merge branch 'main' into fix/dev-server-sse-handle SaKaNa-Y Nov 16, 2026 https://github.com/devframes/devframe/pull/484/commits/0a4222d847d787a629f3fda15c5599a094d356fa
Clear filters https://github.com/devframes/devframe/pull/484/files
Please reload this pagehttps://github.com/devframes/devframe/pull/484/files
Please reload this pagehttps://github.com/devframes/devframe/pull/484/files
3.dev.md https://github.com/devframes/devframe/pull/484/files#diff-f7cdf28570c49758e90eb01aa0495629a6969a7aad1b5a3455c1cafe054af4a2
next-devframe-hub.test.ts https://github.com/devframes/devframe/pull/484/files#diff-af2829e26b3ae439b5b1dd28d3f09803beb9e91472ecb31d6e550039bdefd34c
dev-transports.test.ts https://github.com/devframes/devframe/pull/484/files#diff-77d8b2675cafd77770eebb5922b063a289af2ae777602087ab4900f4d804c491
dev.test.ts https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
initiate.test.ts https://github.com/devframes/devframe/pull/484/files#diff-6bcd391afe0ce4686676a750685773009e25bceb8f6c48339faef1a778e46ee1
dev.ts https://github.com/devframes/devframe/pull/484/files#diff-53ddfd5069a5a06910304a7e26d0136cbac76d0cd0c59481558ce5d1fa2038cb
initiate.ts https://github.com/devframes/devframe/pull/484/files#diff-a9bcfb29d9c365ee0dd03456bdef86e93a812ea81bdada66f197d5e0d7631975
instance-shell.ts https://github.com/devframes/devframe/pull/484/files#diff-b7201157bb4da195993e2a8481f0dba03458a7e876da250e0d7e18fc3946371e
initiate.test.ts https://github.com/devframes/devframe/pull/484/files#diff-25706eadb28a322bb2a43ffff82c94d39cf906ed65c2d9a10b26ee6fc3d4e907
docs/content/2.adapters/3.dev.mdhttps://github.com/devframes/devframe/pull/484/files#diff-f7cdf28570c49758e90eb01aa0495629a6969a7aad1b5a3455c1cafe054af4a2
View file https://github.com/devframes/devframe/blob/0a4222d847d787a629f3fda15c5599a094d356fa/docs/content/2.adapters/3.dev.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/484/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/484/files#diff-f7cdf28570c49758e90eb01aa0495629a6969a7aad1b5a3455c1cafe054af4a2
https://github.com/devframes/devframe/pull/484/files#diff-f7cdf28570c49758e90eb01aa0495629a6969a7aad1b5a3455c1cafe054af4a2
https://github.com/devframes/devframe/pull/484/files#diff-f7cdf28570c49758e90eb01aa0495629a6969a7aad1b5a3455c1cafe054af4a2
examples/custom-hub-next/tests/next-devframe-hub.test.tshttps://github.com/devframes/devframe/pull/484/files#diff-af2829e26b3ae439b5b1dd28d3f09803beb9e91472ecb31d6e550039bdefd34c
View file https://github.com/devframes/devframe/blob/0a4222d847d787a629f3fda15c5599a094d356fa/examples/custom-hub-next/tests/next-devframe-hub.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/484/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/484/files#diff-af2829e26b3ae439b5b1dd28d3f09803beb9e91472ecb31d6e550039bdefd34c
https://github.com/devframes/devframe/pull/484/files#diff-af2829e26b3ae439b5b1dd28d3f09803beb9e91472ecb31d6e550039bdefd34c
packages/devframe/src/adapters/__tests__/dev-transports.test.tshttps://github.com/devframes/devframe/pull/484/files#diff-77d8b2675cafd77770eebb5922b063a289af2ae777602087ab4900f4d804c491
View file https://github.com/devframes/devframe/blob/0a4222d847d787a629f3fda15c5599a094d356fa/packages/devframe/src/adapters/__tests__/dev-transports.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/484/{{ revealButtonHref }}
packages/devframe/src/adapters/__tests__/dev.test.tshttps://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
View file https://github.com/devframes/devframe/blob/0a4222d847d787a629f3fda15c5599a094d356fa/packages/devframe/src/adapters/__tests__/dev.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/484/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
https://github.com/devframes/devframe/pull/484/files#diff-aff2746d258c527ca303c21d5eac4607b130fd7c491fcfb3c06539ee4599c8c6
Please reload this pagehttps://github.com/devframes/devframe/pull/484/files
Please reload this pagehttps://github.com/devframes/devframe/pull/484/files
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

Viewport: width=device-width


URLs of crawlers that visited me.