René's URL Explorer Experiment


Title: fix(ci): unblock @next/swc, lockfile-keyed node_modules, per-image runner sizing by waleedlatif1 · Pull Request #5945 · simstudioai/sim · GitHub

Open Graph Title: fix(ci): unblock @next/swc, lockfile-keyed node_modules, per-image runner sizing by waleedlatif1 · Pull Request #5945 · simstudioai/sim

X Title: fix(ci): unblock @next/swc, lockfile-keyed node_modules, per-image runner sizing by waleedlatif1 · Pull Request #5945 · simstudioai/sim

Description: Summary Three CI fixes, all traced to real telemetry rather than guesswork. 1. The @next/swc-* binaries were blocked by the supply-chain age gate Every Build App run logged: ⚠ Mismatching @next/swc version, detected: 16.2.6 while Next.js is on 16.2.11 16.2.6 appears nowhere in bun.lock or any package.json, so CI was compiling production bundles with an SWC binary the lockfile does not reference. Root cause: #5890 bumped next 16.2.6 → 16.2.11 for the July 2026 security advisories and added next + @next/env to minimumReleaseAgeExcludes so they could install — but not the @next/swc-* platform binaries, which ship in lockstep with next and were published the same day. They stayed blocked by the 7-day gate, so bun install has been silently installing no compiler at all since that bump (they are optional deps, so the failure is silent). Reproduced directly: adding @next/swc-linux-x64-gnu@16.2.11 errored published within minimum release age of 604800 seconds; with the exclude added it resolves. Fix, in two parts (the first alone is not enough — verified by a CI run that still tried to download the compiler): Add the four @next/swc-* binaries to minimumReleaseAgeExcludes, alongside the next entry that should have carried them. Declare them as root optionalDependencies so they get resolved entries in bun.lock. Without an entry, bun install --frozen-lockfile cannot install a package at all — next's inline optional-dependency metadata is not sufficient. Each package carries os/cpu constraints, so only the matching one installs per platform; the lockfile records all four. 1b. node_modules sticky disk was shared across branches The disk was keyed only on github.event_name, so every branch shared one mutable node_modules volume. A sticky disk is a persistent mutable volume, not a content-addressed cache, and bun install --frozen-lockfile adds what the lockfile needs without pruning what it dropped — so the pre-bump 16.2.6 binary survived on the shared disk and was served to every 16.2.11 build. That is why the missing-compiler bug above stayed hidden: the stale disk was masking it. Fix: add the bun.lock hash to that key. The bun download cache and Turbo cache are content/hash-addressed and stay shared, which keeps a fresh node_modules disk cheap to fill. Note these two are coupled: fixing the cache key alone gives a clean disk with no SWC binary, at which point next tries to download one at build time and dies on registry detection. Both fixes are required together. 2. Per-image Blacksmith runner sizing (bs_runner) All three Docker matrices pinned every image to 8 vCPU on Blacksmith, even though the existing gh_runner column already documents that only the app image needs a big runner. The non-app builds idle at 12–15% CPU and under 10% memory. Added a bs_runner field mirroring gh_runner so the sizing lives with the image and can't drift back: app 8 vCPU, migrations 2, realtime 4, PII 4 (same for ARM). Also dropped docs-embeddings 8 → 2 vCPU — it's network-bound on the embeddings API at ~9% CPU. 3. Cold-build memory warning Running out of RAM kills the whole VM and surfaces only as The runner has received a shutdown signal — no mention of memory, after ~12 minutes of work. That's what made the OOM fixed in #5944 hard to diagnose. The build job now reports MemTotal up front and emits a ::warning:: with the real numbers when the runner is under 40 GB. Warning-only on purpose: warm builds peak ~12 GB and partial ~28 GB, so a 32 GB runner still completes many builds, and hard-failing them would degrade the break-glass GitHub path rather than protect it. This also addresses the P1 left open on #5944: the GitHub fallback (linux-x64-8-core, 32 GB) is still below the ~51 GB cold peak. Rather than guess a larger label — hosted-runners reports total_count: 0 for the org, so no GitHub larger runners appear provisioned, and an unresolvable runs-on label queues forever — the preflight turns that path into an immediate, explanatory failure on any provider. Not included: .next/cache The ~5 GB Turbopack FS cache shares the same event+fork key, but keying it on the lockfile would be redundant: NEXT_TURBOPACK_BUILD_CACHE already hashes on config/deps/module content, so a lockfile bump invalidates those slices on its own. The way that cache could be corrupted was a mismatched compiler writing entries into it — which fix 1 removes at the source. Type of Change Bug fix (CI correctness + reliability + cost) Testing Tested manually — all three workflows parse; preflight verified under bash -n; every matrix referencing bs_runner defines it on all 12 entries. 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 Three CI fixes, all traced to real telemetry rather than guesswork. 1. The @next/swc-* binaries were blocked by the supply-chain age gate Every Build App run logged: ⚠ Mismatching @next/swc...

X Description: Summary Three CI fixes, all traced to real telemetry rather than guesswork. 1. The @next/swc-* binaries were blocked by the supply-chain age gate Every Build App run logged: ⚠ Mismatching @next/swc...

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

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:9e5c5b5b-da17-dcb3-44ec-f533e1656554
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id835E:EA1A8:4F400D:6DACE7:6AFB3BD6
html-safe-nonce41f63cba4333add0a57c18c3443f617265b950da813419726efddc7fa27b197e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzVFOkVBMUE4OjRGNDAwRDo2REFDRTc6NkFGQjNCRDYiLCJ2aXNpdG9yX2lkIjoiMzgxNTY3Nzg4Mjc1NTkyMjkwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb985327c1cc2cc7a1103b1d04d06d81cfb691313c4ab910a2590b4a2be32f355
hovercard-subject-tagpull_request:4129836089
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/5945/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 Three CI fixes, all traced to real telemetry rather than guesswork. 1. The @next/swc-* binaries were blocked by the supply-chain age gate Every Build App run logged: ⚠ Mismatching @next/swc...
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/5945/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5945%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%2F5945%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/5945/files
Reloadhttps://github.com/simstudioai/sim/pull/5945/files
Reloadhttps://github.com/simstudioai/sim/pull/5945/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
ci-node-modules-cache-keyhttps://github.com/simstudioai/sim/tree/ci-node-modules-cache-key
Conversation 17 https://github.com/simstudioai/sim/pull/5945
Commits 5 https://github.com/simstudioai/sim/pull/5945/commits
Checks 19 https://github.com/simstudioai/sim/pull/5945/checks
Files changed https://github.com/simstudioai/sim/pull/5945/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5945/files
fix(ci): unblock @next/swc, lockfile-keyed node_modules, per-image runner sizing https://github.com/simstudioai/sim/pull/5945/files#top
Show all changes 5 commits https://github.com/simstudioai/sim/pull/5945/files
456eff6 fix(ci): key node_modules sticky disk on the lockfile hash waleedlatif1 Jul 24, 2026 https://github.com/simstudioai/sim/pull/5945/commits/456eff6ebbcb5764c13f6fcc9d5f7edecba3a949
a86b189 improvement(ci): per-image Blacksmith runner sizing + cold-build memo… waleedlatif1 Jul 24, 2026 https://github.com/simstudioai/sim/pull/5945/commits/a86b189e8c57a2f5b3a6abc1d2ced31104efe4e1
15858ee fix(deps): exclude @next/swc binaries from the release-age gate waleedlatif1 Jul 24, 2026 https://github.com/simstudioai/sim/pull/5945/commits/15858ee89cdd4d04ff5f975e83809958404e65e3
2efc5ed fix(deps): pin @next/swc binaries so frozen installs get a compiler waleedlatif1 Jul 24, 2026 https://github.com/simstudioai/sim/pull/5945/commits/2efc5ed5d2f6114f79797755b0c38a89cdc08921
5a43163 docs(ci): explain ARM runner sizing rationale waleedlatif1 Jul 24, 2026 https://github.com/simstudioai/sim/pull/5945/commits/5a43163529555e62522763d9464d56e361440613
Clear filters https://github.com/simstudioai/sim/pull/5945/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5945/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5945/files
ci.yml https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
docs-embeddings.yml https://github.com/simstudioai/sim/pull/5945/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
test-build.yml https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
bun.lock https://github.com/simstudioai/sim/pull/5945/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
bunfig.toml https://github.com/simstudioai/sim/pull/5945/files#diff-d20a1d3c8f2bd65984a8a4aa51992df69e00dc2d9af53508fab7a080ad526e58
package.json https://github.com/simstudioai/sim/pull/5945/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
.github/workflows/ci.ymlhttps://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://github.com/simstudioai/sim/blob/5a43163529555e62522763d9464d56e361440613/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5945/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
Please reload this pagehttps://github.com/simstudioai/sim/pull/5945/files
https://github.com/simstudioai/sim/pull/5945/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
.github/workflows/docs-embeddings.ymlhttps://github.com/simstudioai/sim/pull/5945/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
View file https://github.com/simstudioai/sim/blob/5a43163529555e62522763d9464d56e361440613/.github/workflows/docs-embeddings.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5945/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5945/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
https://github.com/simstudioai/sim/pull/5945/files#diff-27fffbeceb43cbfda3cee84b75fc79bad394eddc942b140c8f9d016f6b9faffc
.github/workflows/test-build.ymlhttps://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
View file https://github.com/simstudioai/sim/blob/5a43163529555e62522763d9464d56e361440613/.github/workflows/test-build.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5945/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/5945/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L38
bun.lockhttps://github.com/simstudioai/sim/pull/5945/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
View file https://github.com/simstudioai/sim/blob/5a43163529555e62522763d9464d56e361440613/bun.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/simstudioai/sim/pull/5945/files
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L39
bunfig.tomlhttps://github.com/simstudioai/sim/pull/5945/files#diff-d20a1d3c8f2bd65984a8a4aa51992df69e00dc2d9af53508fab7a080ad526e58
View file https://github.com/simstudioai/sim/blob/5a43163529555e62522763d9464d56e361440613/bunfig.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5945/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5945/files#diff-d20a1d3c8f2bd65984a8a4aa51992df69e00dc2d9af53508fab7a080ad526e58
https://github.com/simstudioai/sim/pull/5945/files#diff-d20a1d3c8f2bd65984a8a4aa51992df69e00dc2d9af53508fab7a080ad526e58
https://github.com/simstudioai/sim/pull/5945/files#diff-d20a1d3c8f2bd65984a8a4aa51992df69e00dc2d9af53508fab7a080ad526e58
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
package.jsonhttps://github.com/simstudioai/sim/pull/5945/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/simstudioai/sim/blob/5a43163529555e62522763d9464d56e361440613/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5945/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5945/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/5945/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
Please reload this pagehttps://github.com/simstudioai/sim/pull/5945/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.