René's URL Explorer Experiment


Title: fix(hub-ui-onboard): stop an install that never finishes by antfubot · Pull Request #488 · devframes/devframe · GitHub

Open Graph Title: fix(hub-ui-onboard): stop an install that never finishes by antfubot · Pull Request #488 · devframes/devframe

X Title: fix(hub-ui-onboard): stop an install that never finishes by antfubot · Pull Request #488 · devframes/devframe

Description: Summary When the package manager hangs after a click on Install, the panel waits forever. runInstall had no time limit on exec, so no error showed and no hint told the user to run the command in a terminal. Now createOnboarding() takes an installTimeout option in milliseconds. The default is 5 minutes. When the install runs longer, runInstall kills the process and throws a new DF9009 diagnostic. The diagnostic names the command and tells the user to run it in a terminal. The panel shows it like other install errors, with a Retry button. The limit uses its own timer and Promise.race, not tinyexec's timeout option. tinyexec still waits for the output pipes to close after the kill, and a grandchild process can keep them open. The new test covers that case. On Windows, a kill does not reach child processes, and tinyexec runs a package manager's .cmd shim through cmd.exe. So the timeout runs taskkill /T /F to end the whole tree, the same way killProcessTree in @devframes/hub does. The kill can end the install with an exit code before the timer fires its error, so runInstall checks for the timeout first and always reports DF9009. close #464 User prompts Claude Opus 5.5 in Claude Code (inside Paseo). The user asked to fix #464 and open a PR. Verification packages/hub-ui-onboard/test/install.test.ts: a fake package manager that never exits and starts a grandchild that inherits stdio. With timeout: 300, runInstall rejects with DF9009 in under 5 s. pnpm -C packages/hub-ui-onboard vitest run: 4 files, 24 tests pass. pnpm lint, pnpm knip, pnpm typecheck, pnpm build: pass. pnpm test: all pass except 2 devframe tests that need [::1] (dev.test.ts, initiate.test.ts). This sandbox has no IPv6 loopback, and this PR does not touch devframe. Updated the @devframes/hub-ui-onboard d.ts snapshot for the new option. CI: all jobs pass, including Windows on Node 22, 24, 26 and latest. One Ubuntu Node 26 run failed once on an unrelated @devframes/plugin-assets d.ts snapshot (union member order) and passed on re-run. Not verified: a real hung pnpm 10 install through the panel. Written with Claude Code. The user gave the task and has not reviewed the diff yet.

Open Graph Description: Summary When the package manager hangs after a click on Install, the panel waits forever. runInstall had no time limit on exec, so no error showed and no hint told the user to run the command in a ...

X Description: Summary When the package manager hangs after a click on Install, the panel waits forever. runInstall had no time limit on exec, so no error showed and no hint told the user to run the command in a ...

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

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:96474172-7590-f5b7-432c-40f4be9f397b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9388:1A169A:960771:D314A6:6AFB72DE
html-safe-nonce3f6374ad69c7ccedf504828036711dd5882716c776b5dd967abf5c57677ff52c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mzg4OjFBMTY5QTo5NjA3NzE6RDMxNEE2OjZBRkI3MkRFIiwidmlzaXRvcl9pZCI6IjExNTYwMTg2NDU5NzM1NjIwNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd3932257c0ec6b63beb3475064c89006aa478f1c9fc9f6fefd76e9bf95863fce
hovercard-subject-tagpull_request:5237198988
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/488/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:altSummary When the package manager hangs after a click on Install, the panel waits forever. runInstall had no time limit on exec, so no error showed and no hint told the user to run the command in a ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/devframes/devframe/pull/488/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F488%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%2F488%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/488/files
Reloadhttps://github.com/devframes/devframe/pull/488/files
Reloadhttps://github.com/devframes/devframe/pull/488/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/onboard-install-timeouthttps://github.com/devframes/devframe/tree/fix/onboard-install-timeout
Conversation 2 https://github.com/devframes/devframe/pull/488
Commits 5 https://github.com/devframes/devframe/pull/488/commits
Checks 15 https://github.com/devframes/devframe/pull/488/checks
Files changed 8 https://github.com/devframes/devframe/pull/488/files
fix(hub-ui-onboard): stop an install that never finishes https://github.com/devframes/devframe/pull/488/files#top
Show all changes 5 commits https://github.com/devframes/devframe/pull/488/files
e4b8221 fix(hub-ui-onboard): stop an install that never finishes antfubot Nov 10, 2026 https://github.com/devframes/devframe/pull/488/commits/e4b8221701da76215ca9ba45cb744d5c1390ccae
9be876c fix(hub-ui-onboard): default the install timeout to 5 minutes antfubot Nov 10, 2026 https://github.com/devframes/devframe/pull/488/commits/9be876c1958fd8fd5f058cc87271637de9638e80
454b2ce fix(hub-ui-onboard): kill the whole install tree on Windows antfubot Nov 10, 2026 https://github.com/devframes/devframe/pull/488/commits/454b2ce251951ee7d9bc76e5e4c50baf90d19c06
be33a7f fix(hub-ui-onboard): report the timeout when the kill ends the instal… antfubot Nov 10, 2026 https://github.com/devframes/devframe/pull/488/commits/be33a7f88734fbadd83ec39a27ed060dcb9ad122
0b2da86 Merge branch 'main' into fix/onboard-install-timeout antfu Nov 10, 2026 https://github.com/devframes/devframe/pull/488/commits/0b2da86c58136cb3feea20413df1298ffe1797a0
Clear filters https://github.com/devframes/devframe/pull/488/files
Please reload this pagehttps://github.com/devframes/devframe/pull/488/files
Please reload this pagehttps://github.com/devframes/devframe/pull/488/files
23.hub-ui-onboard.md https://github.com/devframes/devframe/pull/488/files#diff-97ff1d85293a498e0357f07fa0e9929d8065c445334b807616fcb7ed97e4c5e2
DF9009.md https://github.com/devframes/devframe/pull/488/files#diff-df266727a0042073f90ac6110d5cab76159b1c6e5097f44cb1b6b31373176fd7
diagnostics.ts https://github.com/devframes/devframe/pull/488/files#diff-a9e4add15d0c5c0de8ae81394aaf37ffbd3ea5614b0edbc6c518b3f127b7cb0c
index.ts https://github.com/devframes/devframe/pull/488/files#diff-7e373ec99a00ac37cee88817e10e819a08b074408604e64b4c2a6feb77b7430a
install.ts https://github.com/devframes/devframe/pull/488/files#diff-3006bf8c8cb23045ce4111334bbf243b4c95cf4f86e549dc0bfa4f69e6b43da9
types.ts https://github.com/devframes/devframe/pull/488/files#diff-140bffe18fb525416b9a9f4a811a60fa55ac96999ee9b169a39e5de593cfb85c
install.test.ts https://github.com/devframes/devframe/pull/488/files#diff-05d0bbf65470c11fbb1bf7b45581ba65e3fedf14371063bb1da3d9a79d4ce2cb
index.snapshot.d.ts https://github.com/devframes/devframe/pull/488/files#diff-f29f28ed9ef1631ecd30bcc84c38a7ed7fa5d5e0bb1d3c95a8d82a8faee44a1c
docs/content/1.guide/23.hub-ui-onboard.mdhttps://github.com/devframes/devframe/pull/488/files#diff-97ff1d85293a498e0357f07fa0e9929d8065c445334b807616fcb7ed97e4c5e2
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/docs/content/1.guide/23.hub-ui-onboard.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/488/files#diff-97ff1d85293a498e0357f07fa0e9929d8065c445334b807616fcb7ed97e4c5e2
https://github.com/devframes/devframe/pull/488/files#diff-97ff1d85293a498e0357f07fa0e9929d8065c445334b807616fcb7ed97e4c5e2
https://github.com/devframes/devframe/pull/488/files#diff-97ff1d85293a498e0357f07fa0e9929d8065c445334b807616fcb7ed97e4c5e2
docs/content/6.errors/DF9009.mdhttps://github.com/devframes/devframe/pull/488/files#diff-df266727a0042073f90ac6110d5cab76159b1c6e5097f44cb1b6b31373176fd7
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/docs/content/6.errors/DF9009.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
packages/hub-ui-onboard/src/diagnostics.tshttps://github.com/devframes/devframe/pull/488/files#diff-a9e4add15d0c5c0de8ae81394aaf37ffbd3ea5614b0edbc6c518b3f127b7cb0c
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/packages/hub-ui-onboard/src/diagnostics.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/488/files#diff-a9e4add15d0c5c0de8ae81394aaf37ffbd3ea5614b0edbc6c518b3f127b7cb0c
packages/hub-ui-onboard/src/index.tshttps://github.com/devframes/devframe/pull/488/files#diff-7e373ec99a00ac37cee88817e10e819a08b074408604e64b4c2a6feb77b7430a
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/packages/hub-ui-onboard/src/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/488/files#diff-7e373ec99a00ac37cee88817e10e819a08b074408604e64b4c2a6feb77b7430a
https://github.com/devframes/devframe/pull/488/files#diff-7e373ec99a00ac37cee88817e10e819a08b074408604e64b4c2a6feb77b7430a
https://github.com/devframes/devframe/pull/488/files#diff-7e373ec99a00ac37cee88817e10e819a08b074408604e64b4c2a6feb77b7430a
https://github.com/devframes/devframe/pull/488/files#diff-7e373ec99a00ac37cee88817e10e819a08b074408604e64b4c2a6feb77b7430a
packages/hub-ui-onboard/src/install.tshttps://github.com/devframes/devframe/pull/488/files#diff-3006bf8c8cb23045ce4111334bbf243b4c95cf4f86e549dc0bfa4f69e6b43da9
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/packages/hub-ui-onboard/src/install.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/488/files#diff-3006bf8c8cb23045ce4111334bbf243b4c95cf4f86e549dc0bfa4f69e6b43da9
https://github.com/devframes/devframe/pull/488/files#diff-3006bf8c8cb23045ce4111334bbf243b4c95cf4f86e549dc0bfa4f69e6b43da9
https://github.com/devframes/devframe/pull/488/files#diff-3006bf8c8cb23045ce4111334bbf243b4c95cf4f86e549dc0bfa4f69e6b43da9
https://github.com/devframes/devframe/pull/488/files#diff-3006bf8c8cb23045ce4111334bbf243b4c95cf4f86e549dc0bfa4f69e6b43da9
packages/hub-ui-onboard/src/types.tshttps://github.com/devframes/devframe/pull/488/files#diff-140bffe18fb525416b9a9f4a811a60fa55ac96999ee9b169a39e5de593cfb85c
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/packages/hub-ui-onboard/src/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/488/files#diff-140bffe18fb525416b9a9f4a811a60fa55ac96999ee9b169a39e5de593cfb85c
https://github.com/devframes/devframe/pull/488/files#diff-140bffe18fb525416b9a9f4a811a60fa55ac96999ee9b169a39e5de593cfb85c
packages/hub-ui-onboard/test/install.test.tshttps://github.com/devframes/devframe/pull/488/files#diff-05d0bbf65470c11fbb1bf7b45581ba65e3fedf14371063bb1da3d9a79d4ce2cb
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/packages/hub-ui-onboard/test/install.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
tests/__snapshots__/tsnapi/@devframes/hub-ui-onboard/index.snapshot.d.tshttps://github.com/devframes/devframe/pull/488/files#diff-f29f28ed9ef1631ecd30bcc84c38a7ed7fa5d5e0bb1d3c95a8d82a8faee44a1c
View file https://github.com/devframes/devframe/blob/0b2da86c58136cb3feea20413df1298ffe1797a0/tests/__snapshots__/tsnapi/%40devframes/hub-ui-onboard/index.snapshot.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/488/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/488/files#diff-f29f28ed9ef1631ecd30bcc84c38a7ed7fa5d5e0bb1d3c95a8d82a8faee44a1c
https://github.com/devframes/devframe/pull/488/files#diff-f29f28ed9ef1631ecd30bcc84c38a7ed7fa5d5e0bb1d3c95a8d82a8faee44a1c
Please reload this pagehttps://github.com/devframes/devframe/pull/488/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.