René's URL Explorer Experiment


Title: feat(client): support isolated RPC connections by dvcolomban · Pull Request #401 · devframes/devframe · GitHub

Open Graph Title: feat(client): support isolated RPC connections by dvcolomban · Pull Request #401 · devframes/devframe

X Title: feat(client): support isolated RPC connections by dvcolomban · Pull Request #401 · devframes/devframe

Description: Background (Why) An external viewer can open RPC connections to independent Devframe endpoints in one browser document. Shared connection discovery can reuse the first endpoint, while browser credential storage and the devframe-auth BroadcastChannel can overwrite another endpoint's remembered token. Explicit connection descriptors select an endpoint but still participate in this shared authentication state. The authentication broadcast contains a token without a backend identifier. Applications that manage independent connections or their own credential persistence need an explicit way to opt out of this shared state. Changes (What) Add isolated?: boolean to DevframeConnection. An isolated connection skips shared connection discovery, credential storage and authentication broadcasts. Token and one-time-code authentication still use its own RPC transport and update the retained descriptor. Omitting the flag or using false preserves existing shared behavior. Setup accepts either a complete connection or DevframeConnectionDiscoveryOptions before metadata has been resolved: const connection = await setupDevframeConnection({ baseURL: 'http://localhost:5173/', connection: { isolated: true }, }) const rpc = await connectDevframe({ connection }) The named discovery type also accepts shared mode, so it does not imply an already resolved, isolated connection. Reusing a prepared descriptor preserves its isolation setting. JSDoc on the flag, discovery type and channel guard explains why unscoped authentication broadcasts are skipped. Verification (Testing) All 48 tests in the six affected connection/authentication files pass. They cover shared defaults, token precedence for provided and fetched metadata, independent token updates, descriptor reuse and transport disposal. Browser storage and transport I/O are mocked at their existing boundaries. All 92 Devframe API snapshot checks pass locally on the PR branch. The extracted input type is assignable to and from the previous inline shape. Package build, typecheck and changed-file ESLint pass. Full monorepo validation runs in PR CI. The current merge-check CI reports three diagnostics declaration snapshot mismatches. The same three mismatches occur on upstream main 9aa752a1, which is the upstream commit used by the PR merge check. The changed client snapshot passes; these diagnostics snapshots are outside this connection-isolation change.

Open Graph Description: Background (Why) An external viewer can open RPC connections to independent Devframe endpoints in one browser document. Shared connection discovery can reuse the first endpoint, while browser crede...

X Description: Background (Why) An external viewer can open RPC connections to independent Devframe endpoints in one browser document. Shared connection discovery can reuse the first endpoint, while browser crede...

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

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:13c3e2f3-658e-0cc4-5466-1efc434d5d0d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCFBC:35263:113A32:183DFD:6AFB6AF6
html-safe-nonce0f056471aa775099a3674d0a20464c1b1e4dcea05323607317c36bb276c16bd2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkJDOjM1MjYzOjExM0EzMjoxODNERkQ6NkFGQjZBRjYiLCJ2aXNpdG9yX2lkIjoiODMzMTc5NjM3NzcyMTU5NjY2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2fd419bd9a0d476d537701b6254360b67ece9db5d6adff6ebb0da582593b791b
hovercard-subject-tagpull_request:4623533649
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/401/files
twitter:imagehttps://avatars.githubusercontent.com/u/90617742?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/90617742?s=400&v=4
og:image:altBackground (Why) An external viewer can open RPC connections to independent Devframe endpoints in one browser document. Shared connection discovery can reuse the first endpoint, while browser crede...
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/401/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F401%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%2F401%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/401/files
Reloadhttps://github.com/devframes/devframe/pull/401/files
Reloadhttps://github.com/devframes/devframe/pull/401/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
dvcolombanhttps://github.com/dvcolomban
devframes:mainhttps://github.com/devframes/devframe/tree/main
dvcolomban:dvcol/connection-isolationhttps://github.com/dvcolomban/devframe/tree/dvcol/connection-isolation
Conversation 14 https://github.com/devframes/devframe/pull/401
Commits 5 https://github.com/devframes/devframe/pull/401/commits
Checks 10 https://github.com/devframes/devframe/pull/401/checks
Files changed https://github.com/devframes/devframe/pull/401/files
Please reload this pagehttps://github.com/devframes/devframe/pull/401/files
feat(client): support isolated RPC connections https://github.com/devframes/devframe/pull/401/files#top
Show all changes 5 commits https://github.com/devframes/devframe/pull/401/files
24ba9f4 feat(client): support isolated RPC connections dvcolomban Sep 24, 2026 https://github.com/devframes/devframe/pull/401/commits/24ba9f49ff66eee13039d73c0c63c2302a57de41
9a4cacf refactor(client): centralize connection credentials dvcolomban Sep 24, 2026 https://github.com/devframes/devframe/pull/401/commits/9a4cacf4ed0392532a2cf5f5ef4d4d8f0593d07e
22c3206 refactor(client): retain isolation on connection descriptors dvcolomban Sep 24, 2026 https://github.com/devframes/devframe/pull/401/commits/22c320642ad10a174a5b91799b798a417d0a4812
6d66d7e fix(client): clarify isolated connection defaults and auth flow dvcolomban Sep 25, 2026 https://github.com/devframes/devframe/pull/401/commits/6d66d7e9abea9a1f5fa23abb9567671f36437db9
b085676 refactor(client): name connection discovery options and explain isola… dvcolomban Sep 27, 2026 https://github.com/devframes/devframe/pull/401/commits/b0856763d0eb227687fe186f60028f12c37c947e
Clear filters https://github.com/devframes/devframe/pull/401/files
Please reload this pagehttps://github.com/devframes/devframe/pull/401/files
Please reload this pagehttps://github.com/devframes/devframe/pull/401/files
5.browser-api.md https://github.com/devframes/devframe/pull/401/files#diff-a8f7b2475c61a0b2b9cad33c9a47ddd3dc0b1466e07b6056b484493bd44de722
connection-isolation.test.ts https://github.com/devframes/devframe/pull/401/files#diff-efbd68c4b7ca6d20f68bb2b5242fa37f0db8e67069ec69fb6fbf9b3511f81493
connection.ts https://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
rpc-connection-isolation.test.ts https://github.com/devframes/devframe/pull/401/files#diff-1c0b26e6e1564e13a40cb4952f94edd7b2136d0bec8df7e4fd0b291be8bfb020
rpc.ts https://github.com/devframes/devframe/pull/401/files#diff-d2f50629699c7a154f80b1979fad124883645a33b43275f0e494b0cf8c232da0
client.snapshot.d.ts https://github.com/devframes/devframe/pull/401/files#diff-4726bdd3b5f103edd4d598118e21fbc6184db0d6bcab827523f198462275fdad
docs/content/8.references/5.browser-api.mdhttps://github.com/devframes/devframe/pull/401/files#diff-a8f7b2475c61a0b2b9cad33c9a47ddd3dc0b1466e07b6056b484493bd44de722
View file https://github.com/devframes/devframe/blob/b0856763d0eb227687fe186f60028f12c37c947e/docs/content/8.references/5.browser-api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/401/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/401/files#diff-a8f7b2475c61a0b2b9cad33c9a47ddd3dc0b1466e07b6056b484493bd44de722
https://github.com/devframes/devframe/pull/401/files#diff-a8f7b2475c61a0b2b9cad33c9a47ddd3dc0b1466e07b6056b484493bd44de722
https://github.com/devframes/devframe/pull/401/files#diff-a8f7b2475c61a0b2b9cad33c9a47ddd3dc0b1466e07b6056b484493bd44de722
packages/devframe/src/client/connection-isolation.test.tshttps://github.com/devframes/devframe/pull/401/files#diff-efbd68c4b7ca6d20f68bb2b5242fa37f0db8e67069ec69fb6fbf9b3511f81493
View file https://github.com/devframes/devframe/blob/b0856763d0eb227687fe186f60028f12c37c947e/packages/devframe/src/client/connection-isolation.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/401/{{ revealButtonHref }}
packages/devframe/src/client/connection.tshttps://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
View file https://github.com/devframes/devframe/blob/b0856763d0eb227687fe186f60028f12c37c947e/packages/devframe/src/client/connection.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/401/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
https://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
https://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
Please reload this pagehttps://github.com/devframes/devframe/pull/401/files
https://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
https://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
Please reload this pagehttps://github.com/devframes/devframe/pull/401/files
https://github.com/devframes/devframe/pull/401/files#diff-6ce8406599e15b466c0c2dcc9f68b9ac144af8b8fecaefb1d94941848676645e
Please reload this pagehttps://github.com/devframes/devframe/pull/401/files
Please reload this pagehttps://github.com/devframes/devframe/pull/401/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.