René's URL Explorer Experiment


Title: feat(cli): tell the user when their sim is out of date by mzxchandra · Pull Request #7420 · simstudioai/sim · GitHub

Open Graph Title: feat(cli): tell the user when their sim is out of date by mzxchandra · Pull Request #7420 · simstudioai/sim

X Title: feat(cli): tell the user when their sim is out of date by mzxchandra · Pull Request #7420 · simstudioai/sim

Description: Summary Adds a quiet, once-daily update notice for globally installed sim CLIs. Keeps help, version, CI, non-TTY, prerelease, checkout, npm exec/npx, and project-local invocations silent. Uses a one-second child-process deadline, bounded response and cache reads, redirect refusal, and atomic cache replacement so the courtesy check cannot hold up or break the requested command. Honors configured registry paths, query strings, proxy settings, and TLS settings while keeping registry credentials out of argv/environment and removing the Sim API key from the probe environment. Suggests the matching npm, pnpm, Yarn, or Bun global upgrade command. Simplification Removed the standalone prerelease/channel SemVer implementation, unused cached version data, process-global announcement state, and duplicated test setup. Kept comparison intentionally limited to stable numeric major/minor/patch precedence, with build metadata ignored. Added focused coverage for timeouts, bounded reads, redirects, proxy behavior, credential transport, local-install detection, and cross-platform cache safety. Type of Change New feature Bug fix Testing CLI tests: 856 passed, 3 environment/version-gated skips Node 24.5 process suite: 9 passed, including both proxy activation paths CLI type-check, build, and lint Repository lint All 45 repository audits Block-registry, generated-artifact, and docs-manifest checks Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Adds a quiet, once-daily update notice for globally installed sim CLIs. Keeps help, version, CI, non-TTY, prerelease, checkout, npm exec/npx, and project-local invocations silent. Uses a o...

X Description: Summary Adds a quiet, once-daily update notice for globally installed sim CLIs. Keeps help, version, CI, non-TTY, prerelease, checkout, npm exec/npx, and project-local invocations silent. Uses a o...

Opengraph URL: https://github.com/simstudioai/sim/pull/7420

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:182cc619-ad8d-72f6-f8da-8d1ffe679f2c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9080:2AB504:457014:6402B2:6AFB39CB
html-safe-nonce0dc0a8c3fc27e94dbbafa5e71ede584406713d2693d1f126824fedc09c8ed287
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDgwOjJBQjUwNDo0NTcwMTQ6NjQwMkIyOjZBRkIzOUNCIiwidmlzaXRvcl9pZCI6IjIxNDYyOTQ4Mjg2MTcxMjAyMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac966cc3689923f4d08d97b84ed7e6c34e7aa8aebc517e7f2fbe79bf9f8984514d
hovercard-subject-tagpull_request:4427089465
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/simstudioai/sim/pull/7420/files
twitter:imagehttps://avatars.githubusercontent.com/u/129460234?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/129460234?s=400&v=4
og:image:altSummary Adds a quiet, once-daily update notice for globally installed sim CLIs. Keeps help, version, CI, non-TTY, prerelease, checkout, npm exec/npx, and project-local invocations silent. Uses a o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7420/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7420%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%2Fsimstudioai%2Fsim%2Fpull%2F7420%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/7420/files
Reloadhttps://github.com/simstudioai/sim/pull/7420/files
Reloadhttps://github.com/simstudioai/sim/pull/7420/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/cli-update-notifierhttps://github.com/simstudioai/sim/tree/feat/cli-update-notifier
Conversation 46 https://github.com/simstudioai/sim/pull/7420
Commits 13 https://github.com/simstudioai/sim/pull/7420/commits
Checks 30 https://github.com/simstudioai/sim/pull/7420/checks
Files changed https://github.com/simstudioai/sim/pull/7420/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7420/files
feat(cli): tell the user when their sim is out of date https://github.com/simstudioai/sim/pull/7420/files#top
Show all changes 13 commits https://github.com/simstudioai/sim/pull/7420/files
f91073c feat(cli): tell the user when their sim is out of date mzxchandra Sep 2, 2026 https://github.com/simstudioai/sim/pull/7420/commits/f91073c0894b7d570795a8ab2b6be9d68acc4056
afbec15 Merge remote-tracking branch 'origin/staging' into feat/cli-update-no… mzxchandra Sep 2, 2026 https://github.com/simstudioai/sim/pull/7420/commits/afbec1546d53c19e518801c57695f9f5ad458c2c
206d325 fix(cli): close the update-notifier findings from pre-landing review mzxchandra Sep 2, 2026 https://github.com/simstudioai/sim/pull/7420/commits/206d3256c51289ff3bfc6551037b2e4eaf7cd6a9
fd3f3db fix(cli): correct the update-notifier privacy claim and prerelease pa… mzxchandra Sep 2, 2026 https://github.com/simstudioai/sim/pull/7420/commits/fd3f3db3529c95e37e59fd5af6110482962ecf15
93da3c7 Merge remote-tracking branch 'origin/staging' into feat/cli-update-no… mzxchandra Sep 2, 2026 https://github.com/simstudioai/sim/pull/7420/commits/93da3c79ce7419eef3eefd70f36d8f37eb223c1c
1d4e7f5 fix(cli): make the update-notifier docs match what the code actually … mzxchandra Sep 2, 2026 https://github.com/simstudioai/sim/pull/7420/commits/1d4e7f500b914a1b026384521955f998c1f83196
aba39c5 docs(cli): name the update cache path for relocated config dirs mzxchandra Sep 2, 2026 https://github.com/simstudioai/sim/pull/7420/commits/aba39c580319d38a6ec01098fb1940841dab4fe2
94a90ff Merge remote-tracking branch 'origin/staging' into feat/cli-update-no… waleedlatif1 Sep 3, 2026 https://github.com/simstudioai/sim/pull/7420/commits/94a90ff0ccc51e9c4f016bf4c40999c6b83fe9a3
e0e0f01 Merge remote-tracking branch 'origin/staging' into feat/cli-update-no… waleedlatif1 Sep 3, 2026 https://github.com/simstudioai/sim/pull/7420/commits/e0e0f012ebdcc1869f0c791cb7a910e925cc3d2c
1573b40 fix(cli): harden and simplify update checks waleedlatif1 Sep 3, 2026 https://github.com/simstudioai/sim/pull/7420/commits/1573b40a92e93bee33d846cdc28affad7102db89
4c24d3a test(cli): isolate update checks from CI markers waleedlatif1 Sep 3, 2026 https://github.com/simstudioai/sim/pull/7420/commits/4c24d3a76e0def3a86ff60bfcec5d7f16ce5c320
c22df05 fix(cli): tighten update check eligibility waleedlatif1 Sep 3, 2026 https://github.com/simstudioai/sim/pull/7420/commits/c22df05921eb8e44bac0126ee6b4ee533e551dfe
888c625 Merge remote-tracking branch 'origin/staging' into feat/cli-update-no… waleedlatif1 Sep 3, 2026 https://github.com/simstudioai/sim/pull/7420/commits/888c62518153003f850a911801fca42b9f268fcd
Clear filters https://github.com/simstudioai/sim/pull/7420/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7420/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7420/files
configuration.mdx https://github.com/simstudioai/sim/pull/7420/files#diff-a6ab4b6d3bc81099d66fb9efcbe7605e035d01a24dc33c235104ad0be11a7a48
troubleshooting.mdx https://github.com/simstudioai/sim/pull/7420/files#diff-e67f251e5741c6b896004e5ee31c667eb8944af8912337b9cc370b0ad0bd62da
README.md https://github.com/simstudioai/sim/pull/7420/files#diff-48a6d4470c0355c4d2a818cd8cfc6be8760375364632369eaa795720c805833a
paths.ts https://github.com/simstudioai/sim/pull/7420/files#diff-8c3bc991d7cead1964d5ba950fc5bd4154b12e9a742b69013fc442e7be13ff2e
program.test.ts https://github.com/simstudioai/sim/pull/7420/files#diff-2e6f2680977f440a62b7dcde6ccbf0758c2e780a91ff92a7f64cb6e11499cd31
program.ts https://github.com/simstudioai/sim/pull/7420/files#diff-735d8e38e3c32275671a16f3e199dcc5bff06e2d2e117c13564a5efcc14ffd25
check.process.test.ts https://github.com/simstudioai/sim/pull/7420/files#diff-fe9fa63965bf13daf16a00534c3be6c9159289f8744edb1c60edffe96e898931
check.test.ts https://github.com/simstudioai/sim/pull/7420/files#diff-223fda125a6d35e94b034063789f078de6774be9e52026ab2675ea9ad8e0480c
check.ts https://github.com/simstudioai/sim/pull/7420/files#diff-572178bde170e932bb6a7714e7c63a42b1f5df425f5071b717e6a213de6140c7
apps/docs/content/docs/cli/configuration.mdxhttps://github.com/simstudioai/sim/pull/7420/files#diff-a6ab4b6d3bc81099d66fb9efcbe7605e035d01a24dc33c235104ad0be11a7a48
View file https://github.com/simstudioai/sim/blob/888c62518153003f850a911801fca42b9f268fcd/apps/docs/content/docs/cli/configuration.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7420/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7420/files#diff-a6ab4b6d3bc81099d66fb9efcbe7605e035d01a24dc33c235104ad0be11a7a48
Please reload this pagehttps://github.com/simstudioai/sim/pull/7420/files
https://github.com/simstudioai/sim/pull/7420/files#diff-a6ab4b6d3bc81099d66fb9efcbe7605e035d01a24dc33c235104ad0be11a7a48
apps/docs/content/docs/cli/troubleshooting.mdxhttps://github.com/simstudioai/sim/pull/7420/files#diff-e67f251e5741c6b896004e5ee31c667eb8944af8912337b9cc370b0ad0bd62da
View file https://github.com/simstudioai/sim/blob/888c62518153003f850a911801fca42b9f268fcd/apps/docs/content/docs/cli/troubleshooting.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7420/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7420/files#diff-e67f251e5741c6b896004e5ee31c667eb8944af8912337b9cc370b0ad0bd62da
https://github.com/simstudioai/sim/pull/7420/files#diff-e67f251e5741c6b896004e5ee31c667eb8944af8912337b9cc370b0ad0bd62da
https://github.com/simstudioai/sim/pull/7420/files#diff-e67f251e5741c6b896004e5ee31c667eb8944af8912337b9cc370b0ad0bd62da
https://github.com/simstudioai/sim/pull/7420/files#diff-e67f251e5741c6b896004e5ee31c667eb8944af8912337b9cc370b0ad0bd62da
packages/sim-cli/README.mdhttps://github.com/simstudioai/sim/pull/7420/files#diff-48a6d4470c0355c4d2a818cd8cfc6be8760375364632369eaa795720c805833a
View file https://github.com/simstudioai/sim/blob/888c62518153003f850a911801fca42b9f268fcd/packages/sim-cli/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7420/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7420/files#diff-48a6d4470c0355c4d2a818cd8cfc6be8760375364632369eaa795720c805833a
https://github.com/simstudioai/sim/pull/7420/files#diff-48a6d4470c0355c4d2a818cd8cfc6be8760375364632369eaa795720c805833a
packages/sim-cli/src/config/paths.tshttps://github.com/simstudioai/sim/pull/7420/files#diff-8c3bc991d7cead1964d5ba950fc5bd4154b12e9a742b69013fc442e7be13ff2e
View file https://github.com/simstudioai/sim/blob/888c62518153003f850a911801fca42b9f268fcd/packages/sim-cli/src/config/paths.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7420/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7420/files#diff-8c3bc991d7cead1964d5ba950fc5bd4154b12e9a742b69013fc442e7be13ff2e
packages/sim-cli/src/program.test.tshttps://github.com/simstudioai/sim/pull/7420/files#diff-2e6f2680977f440a62b7dcde6ccbf0758c2e780a91ff92a7f64cb6e11499cd31
View file https://github.com/simstudioai/sim/blob/888c62518153003f850a911801fca42b9f268fcd/packages/sim-cli/src/program.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7420/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7420/files#diff-2e6f2680977f440a62b7dcde6ccbf0758c2e780a91ff92a7f64cb6e11499cd31
https://github.com/simstudioai/sim/pull/7420/files#diff-2e6f2680977f440a62b7dcde6ccbf0758c2e780a91ff92a7f64cb6e11499cd31
packages/sim-cli/src/program.tshttps://github.com/simstudioai/sim/pull/7420/files#diff-735d8e38e3c32275671a16f3e199dcc5bff06e2d2e117c13564a5efcc14ffd25
View file https://github.com/simstudioai/sim/blob/888c62518153003f850a911801fca42b9f268fcd/packages/sim-cli/src/program.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7420/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7420/files#diff-735d8e38e3c32275671a16f3e199dcc5bff06e2d2e117c13564a5efcc14ffd25
https://github.com/simstudioai/sim/pull/7420/files#diff-735d8e38e3c32275671a16f3e199dcc5bff06e2d2e117c13564a5efcc14ffd25
https://github.com/simstudioai/sim/pull/7420/files#diff-735d8e38e3c32275671a16f3e199dcc5bff06e2d2e117c13564a5efcc14ffd25
https://github.com/simstudioai/sim/pull/7420/files#diff-735d8e38e3c32275671a16f3e199dcc5bff06e2d2e117c13564a5efcc14ffd25
Please reload this pagehttps://github.com/simstudioai/sim/pull/7420/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7420/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.