René's URL Explorer Experiment


Title: fix(ci): skip lifecycle scripts on CI installs by waleedlatif1 · Pull Request #5959 · simstudioai/sim · GitHub

Open Graph Title: fix(ci): skip lifecycle scripts on CI installs by waleedlatif1 · Pull Request #5959 · simstudioai/sim

X Title: fix(ci): skip lifecycle scripts on CI installs by waleedlatif1 · Pull Request #5959 · simstudioai/sim

Description: Summary Fixes the Create GitHub Release failure on main, a regression from #5935, and removes the class of failure rather than just this instance. #5935 removed the blanket .npmrc ignore-scripts=true, so isolated-vm's install script now actually runs. Upstream publishes prebuilds for Node 22 (ABI 127) and Node 24 (ABI 137) only. Jobs that set up Bun but never setup-node inherit the runner default — Node 20 — where prebuild-install finds nothing: prebuild-install warn install No prebuilt binaries found (target=20.20.0 runtime=node arch=x64 libc= platform=linux) and falls back to node-gyp, which crashes: gyp ERR! stack TypeError: webidl.util.markAsUncloneable is not a function error: install script from "isolated-vm" exited with 1 That failure is undici #5024 — a regression in undici 8.0.3 that broke Node 20, still open. node-gyp bundles undici and Bun fetches node-gyp@latest via bunx, so this arrives unpinned at install time. Before #5935 the script never ran, so the skew was invisible. The fix: --ignore-scripts on all 8 CI installs No CI job needs a compiled native module. isolated-vm landed in December 2025 and .npmrc blocked lifecycle scripts until #5935, so CI ran green for ~7 months with it never built. That is corroborated structurally: next.config.ts lists it in serverExternalPackages and trigger.config.ts externals it (never bundled), every test mocks it, and the only real require('isolated-vm') is in isolated-vm-worker.cjs, which no CI job spawns. All three Dockerfiles already install with --ignore-scripts and rebuild it by hand. Building it in CI buys nothing and couples every job to prebuild availability for the pinned Node. With only two ABIs published upstream, the next setup-node bump would resurface the same opaque node-gyp failure. Local dev keeps the automatic build that #5935 was for. Skipping lifecycle scripts on CI installs is also standard supply-chain hardening — it is one layer of the usual lockfile + cooldown + script-blocking stack, and Bun blocks scripts by default for the same reason. What is deliberately not here An earlier revision of this PR also added setup-node to create-release, migrate, and deploy-trigger-dev. That was redundant and has been removed: once scripts are skipped, nothing in those jobs invokes node. They run bun run scripts/create-single-release.ts, bun run db:push + bun run scripts/migrate.ts, and bunx trigger.dev deploy — and all three were green without setup-node for months. setup-bun + setup-node is redundant unless a job needs node-specific tooling. setup-node remains only where it is load-bearing: publish-cli and publish-ts-sdk need it for npm publish and its registry-url auth; test-build and docs-embeddings already had it. The one extra change is publish-cli.yml Node 18 → 22. That job's setup-node is required, and 18 has been EOL since April 2025; this matches publish-ts-sdk.yml, which already publishes on 22. Separable from the bug fix if you would rather it land on its own. Audit Every job in the repo that runs bun install: workflow job setup-node --ignore-scripts ci.yml create-release — the failing job none added ci.yml deploy-trigger-dev none added migrations.yml migrate none added publish-cli.yml publish-npm 18 → 22 (needed for npm publish) added docs-embeddings.yml process-docs-embeddings 22 (unchanged) added publish-ts-sdk.yml publish-npm 22 (unchanged) added test-build.yml test-build 22 (unchanged) added test-build.yml build 22 (unchanged) added Testing Verified upstream prebuild coverage against the v6.0.2 release assets: node-v127 and node-v137 only — no ABI 115 (Node 20) or 108 (Node 18) build on any platform Confirmed prebuild-install resolves ABI from the real node on PATH, not Bun's claimed version Audited all 8 install jobs; each passes --ignore-scripts, and every remaining setup-node is ordered before its install step Test and Build / Build App and Lint and Test both pass on this branch, exercising the --ignore-scripts install path end to end All workflow YAML parses cleanly Note: create-release only runs on release commits on main and deploy-trigger-dev only on pushes to dev, so neither is exercised by this PR's own CI. test-build and build do exercise the --ignore-scripts install path here. Follow-up (not in this PR) .devcontainer/Dockerfile is oven/bun:1.3.13-alpine and post-create.sh runs a plain bun install. The official oven/bun images ship no Node binary, and prebuild-install is a node-shebang script with node-gyp as its fallback — so #5935 likely broke devcontainer onboarding too. Unverified (no local Docker daemon). The real fix there is adding Node to the image: isolated-vm spawns a Node child process at runtime, so the sandbox has never worked in that container regardless. Type of Change Bug fix 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 Fixes the Create GitHub Release failure on main, a regression from #5935, and removes the class of failure rather than just this instance. #5935 removed the blanket .npmrc ignore-scripts=tr...

X Description: Summary Fixes the Create GitHub Release failure on main, a regression from #5935, and removes the class of failure rather than just this instance. #5935 removed the blanket .npmrc ignore-scripts=tr...

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

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:6dcbef09-480a-d1d4-e06b-56839d8a1c46
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id855E:29D5DB:A62082:E3FF0C:6AFB4FF6
html-safe-nonceccfe6349900d7b1b6818891bc24a26d39a47c694a42d708cdc4ffeb0d9103fe7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTVFOjI5RDVEQjpBNjIwODI6RTNGRjBDOjZBRkI0RkY2IiwidmlzaXRvcl9pZCI6IjU3NTIxODIzMzkwNjA1ODQ0MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac69463d675ac494ba56983aa3d040a0da471f8c8983f721bb2ebde34c9ca03b54
hovercard-subject-tagpull_request:4130859949
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/5959/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Fixes the Create GitHub Release failure on main, a regression from #5935, and removes the class of failure rather than just this instance. #5935 removed the blanket .npmrc ignore-scripts=tr...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
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
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5959/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5959%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%2F5959%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/5959/files
Reloadhttps://github.com/simstudioai/sim/pull/5959/files
Reloadhttps://github.com/simstudioai/sim/pull/5959/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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
fix/ci-node-version-for-native-installshttps://github.com/simstudioai/sim/tree/fix/ci-node-version-for-native-installs
Conversation 7 https://github.com/simstudioai/sim/pull/5959
Commits 3 https://github.com/simstudioai/sim/pull/5959/commits
Checks 20 https://github.com/simstudioai/sim/pull/5959/checks
Files changed https://github.com/simstudioai/sim/pull/5959/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5959/files
fix(ci): skip lifecycle scripts on CI installs https://github.com/simstudioai/sim/pull/5959/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/5959/files
8471522 fix(ci): set up Node 22 for every job that runs bun install waleedlatif1 Jul 25, 2026 https://github.com/simstudioai/sim/pull/5959/commits/8471522ad65da9e5fbe513cb9ea81184e9c3e1f0
f1c014a fix(ci): skip lifecycle scripts on CI installs waleedlatif1 Jul 25, 2026 https://github.com/simstudioai/sim/pull/5959/commits/f1c014a429493cdd3194eeda8561cd6f93d35904
c82d225 fix(ci): drop redundant setup-node from bun-only jobs waleedlatif1 Jul 25, 2026 https://github.com/simstudioai/sim/pull/5959/commits/c82d22512527f805dd8759913597f20fe4e920a5
Clear filters https://github.com/simstudioai/sim/pull/5959/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5959/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5959/files
ci.yml https://github.com/simstudioai/sim/pull/5959/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
docs-embeddings.yml https://github.com/simstudioai/sim/pull/5959/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
migrations.yml https://github.com/simstudioai/sim/pull/5959/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
publish-cli.yml https://github.com/simstudioai/sim/pull/5959/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
publish-ts-sdk.yml https://github.com/simstudioai/sim/pull/5959/files#diff-5f7ed4d4a13d3f069b4e89cc147c736df908bef8d366f8652c41f326165b6043
test-build.yml https://github.com/simstudioai/sim/pull/5959/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
.github/workflows/ci.ymlhttps://github.com/simstudioai/sim/pull/5959/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://github.com/simstudioai/sim/blob/c82d22512527f805dd8759913597f20fe4e920a5/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5959/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5959/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5959/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5959/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5959/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
.github/workflows/docs-embeddings.ymlhttps://github.com/simstudioai/sim/pull/5959/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
View file https://github.com/simstudioai/sim/blob/c82d22512527f805dd8759913597f20fe4e920a5/.github/workflows/docs-embeddings.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5959/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5959/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
https://github.com/simstudioai/sim/pull/5959/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
.github/workflows/migrations.ymlhttps://github.com/simstudioai/sim/pull/5959/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
View file https://github.com/simstudioai/sim/blob/c82d22512527f805dd8759913597f20fe4e920a5/.github/workflows/migrations.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5959/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5959/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
https://github.com/simstudioai/sim/pull/5959/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
.github/workflows/publish-cli.ymlhttps://github.com/simstudioai/sim/pull/5959/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
View file https://github.com/simstudioai/sim/blob/c82d22512527f805dd8759913597f20fe4e920a5/.github/workflows/publish-cli.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5959/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5959/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
https://github.com/simstudioai/sim/pull/5959/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
https://github.com/simstudioai/sim/pull/5959/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
.github/workflows/publish-ts-sdk.ymlhttps://github.com/simstudioai/sim/pull/5959/files#diff-5f7ed4d4a13d3f069b4e89cc147c736df908bef8d366f8652c41f326165b6043
View file https://github.com/simstudioai/sim/blob/c82d22512527f805dd8759913597f20fe4e920a5/.github/workflows/publish-ts-sdk.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5959/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5959/files#diff-5f7ed4d4a13d3f069b4e89cc147c736df908bef8d366f8652c41f326165b6043
https://github.com/simstudioai/sim/pull/5959/files#diff-5f7ed4d4a13d3f069b4e89cc147c736df908bef8d366f8652c41f326165b6043
.github/workflows/test-build.ymlhttps://github.com/simstudioai/sim/pull/5959/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
View file https://github.com/simstudioai/sim/blob/c82d22512527f805dd8759913597f20fe4e920a5/.github/workflows/test-build.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5959/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5959/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5959/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5959/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5959/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
Please reload this pagehttps://github.com/simstudioai/sim/pull/5959/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.