René's URL Explorer Experiment


Title: feat(hub): bake mounts outside the hub base as deploy-root siblings by antfubot · Pull Request #355 · devframes/devframe · GitHub

Open Graph Title: feat(hub): bake mounts outside the hub base as deploy-root siblings by antfubot · Pull Request #355 · devframes/devframe

X Title: feat(hub): bake mounts outside the hub base as deploy-root siblings by antfubot · Pull Request #355 · devframes/devframe

Description: What buildHub's resolveOutPath threw DF8006 for any mount whose URL base didn't start with the hub base, so it could only bake a hub where every devframe mounts under the hub base. Vite DevTools serves its hub at /__devtools/ but keeps its devframe SPAs and vendored assets as top-level siblings (/__devframes_plugin_inspect/, /__devtools-assets/), so buildHub({ context }) couldn't bake that layout. This relaxes resolveOutPath (option 2 from the issue): a mount under the hub base still writes into outDir (the hub subtree), and any other absolute base resolves to outDir's parent — the deploy root — by its absolute path. No new option; per-frame metas and the index follow automatically since they already read ctx.frames + ctx.views.buildStaticDirs. DF8006 now only fires for a non-absolute base, and its message/docs page are updated to match. Why The hub base is a protocol namespace deliberately distinct from where each integration's SPA and assets are served. A deploy-root layout where the hub base and the devframe/asset bases are siblings under a common root is a legitimate deploy shape, and this was the last gap before Vite DevTools can retire its hand-rolled build-static.ts and bake purely through buildHub. Closes #353. This PR was created with the help of an agent.

Open Graph Description: What buildHub's resolveOutPath threw DF8006 for any mount whose URL base didn't start with the hub base, so it could only bake a hub where every devframe mounts under the hub base. Vite Dev...

X Description: What buildHub's resolveOutPath threw DF8006 for any mount whose URL base didn't start with the hub base, so it could only bake a hub where every devframe mounts under the hub base. ...

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

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:92c9e498-1844-c773-54cc-eecc027a73e1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6FE:186510:16662F3:1E9F5C8:6AFB7BDB
html-safe-nonce30830b348f28121c57357539b2bde2541306c2d012834c63e7ddf9d35bfe1b41
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkZFOjE4NjUxMDoxNjY2MkYzOjFFOUY1Qzg6NkFGQjdCREIiLCJ2aXNpdG9yX2lkIjoiNjg2NjI5NTIzNjQ0MDMyNTA4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac539efa3f38f6f65116723353c7611d43c9dc37151509f048e361a0e0772de918
hovercard-subject-tagpull_request:4438830259
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/355/files
twitter:imagehttps://avatars.githubusercontent.com/u/291667613?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/291667613?s=400&v=4
og:image:altWhat buildHub's resolveOutPath threw DF8006 for any mount whose URL base didn't start with the hub base, so it could only bake a hub where every devframe mounts under the hub base. Vite Dev...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188
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
releasebc3703b4dcbe820d1284ef63c88b001c850be25e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/devframes/devframe/pull/355/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F355%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%2F355%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/355/files
Reloadhttps://github.com/devframes/devframe/pull/355/files
Reloadhttps://github.com/devframes/devframe/pull/355/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
antfuhttps://github.com/antfu
mainhttps://github.com/devframes/devframe/tree/main
fix/hub-bake-sibling-layouthttps://github.com/devframes/devframe/tree/fix/hub-bake-sibling-layout
Conversation 2 https://github.com/devframes/devframe/pull/355
Commits 1 https://github.com/devframes/devframe/pull/355/commits
Checks 13 https://github.com/devframes/devframe/pull/355/checks
Files changed https://github.com/devframes/devframe/pull/355/files
Please reload this pagehttps://github.com/devframes/devframe/pull/355/files
feat(hub): bake mounts outside the hub base as deploy-root siblings https://github.com/devframes/devframe/pull/355/files#top
Show all changes 1 commit https://github.com/devframes/devframe/pull/355/files
44f7054 feat(hub): bake mounts outside the hub base as deploy-root siblings antfubot Sep 4, 2026 https://github.com/devframes/devframe/pull/355/commits/44f7054b8e16082429418fcec575a89dfe97d79e
Clear filters https://github.com/devframes/devframe/pull/355/files
Please reload this pagehttps://github.com/devframes/devframe/pull/355/files
Please reload this pagehttps://github.com/devframes/devframe/pull/355/files
18.hub-initiate.md https://github.com/devframes/devframe/pull/355/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
DF8006.md https://github.com/devframes/devframe/pull/355/files#diff-e560d5e236a4b8b383722b61b6bd8d3cfc9e73a558e2d37a60b8b88b41a1b359
6.hub-api.md https://github.com/devframes/devframe/pull/355/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
build.test.ts https://github.com/devframes/devframe/pull/355/files#diff-a43522af96fe43c37f7d0f44dfeb665873ddbf6a36ee1d913e6c3a8a215ca443
build.ts https://github.com/devframes/devframe/pull/355/files#diff-51b174b6e2bda0bd8cc46d234f788727b8b446d6cd94a3501b23d1b9f9cfc31d
diagnostics.ts https://github.com/devframes/devframe/pull/355/files#diff-af191f0c764e8fd01fadfd30052ac72acb89c1026fd45ac8d12c0ff95506b51d
docs/content/1.guide/18.hub-initiate.mdhttps://github.com/devframes/devframe/pull/355/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
View file https://github.com/devframes/devframe/blob/44f7054b8e16082429418fcec575a89dfe97d79e/docs/content/1.guide/18.hub-initiate.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/355/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/355/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
https://github.com/devframes/devframe/pull/355/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
docs/content/6.errors/DF8006.mdhttps://github.com/devframes/devframe/pull/355/files#diff-e560d5e236a4b8b383722b61b6bd8d3cfc9e73a558e2d37a60b8b88b41a1b359
View file https://github.com/devframes/devframe/blob/44f7054b8e16082429418fcec575a89dfe97d79e/docs/content/6.errors/DF8006.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/355/{{ revealButtonHref }}
docs/content/8.references/6.hub-api.mdhttps://github.com/devframes/devframe/pull/355/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
View file https://github.com/devframes/devframe/blob/44f7054b8e16082429418fcec575a89dfe97d79e/docs/content/8.references/6.hub-api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/355/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/355/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
https://github.com/devframes/devframe/pull/355/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
packages/hub/src/node/__tests__/build.test.tshttps://github.com/devframes/devframe/pull/355/files#diff-a43522af96fe43c37f7d0f44dfeb665873ddbf6a36ee1d913e6c3a8a215ca443
View file https://github.com/devframes/devframe/blob/44f7054b8e16082429418fcec575a89dfe97d79e/packages/hub/src/node/__tests__/build.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/355/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/355/files#diff-a43522af96fe43c37f7d0f44dfeb665873ddbf6a36ee1d913e6c3a8a215ca443
packages/hub/src/node/build.tshttps://github.com/devframes/devframe/pull/355/files#diff-51b174b6e2bda0bd8cc46d234f788727b8b446d6cd94a3501b23d1b9f9cfc31d
View file https://github.com/devframes/devframe/blob/44f7054b8e16082429418fcec575a89dfe97d79e/packages/hub/src/node/build.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/355/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/355/files#diff-51b174b6e2bda0bd8cc46d234f788727b8b446d6cd94a3501b23d1b9f9cfc31d
https://github.com/devframes/devframe/pull/355/files#diff-51b174b6e2bda0bd8cc46d234f788727b8b446d6cd94a3501b23d1b9f9cfc31d
https://github.com/devframes/devframe/pull/355/files#diff-51b174b6e2bda0bd8cc46d234f788727b8b446d6cd94a3501b23d1b9f9cfc31d
https://github.com/devframes/devframe/pull/355/files#diff-51b174b6e2bda0bd8cc46d234f788727b8b446d6cd94a3501b23d1b9f9cfc31d
packages/hub/src/node/diagnostics.tshttps://github.com/devframes/devframe/pull/355/files#diff-af191f0c764e8fd01fadfd30052ac72acb89c1026fd45ac8d12c0ff95506b51d
View file https://github.com/devframes/devframe/blob/44f7054b8e16082429418fcec575a89dfe97d79e/packages/hub/src/node/diagnostics.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/355/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/355/files#diff-af191f0c764e8fd01fadfd30052ac72acb89c1026fd45ac8d12c0ff95506b51d
https://github.com/devframes/devframe/pull/355/files#diff-af191f0c764e8fd01fadfd30052ac72acb89c1026fd45ac8d12c0ff95506b51d
Please reload this pagehttps://github.com/devframes/devframe/pull/355/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.