René's URL Explorer Experiment


Title: perf(ci): disable the Turbopack persistent build cache (3.2x faster builds) by waleedlatif1 · Pull Request #6080 · simstudioai/sim · GitHub

Open Graph Title: perf(ci): disable the Turbopack persistent build cache (3.2x faster builds) by waleedlatif1 · Pull Request #6080 · simstudioai/sim

X Title: perf(ci): disable the Turbopack persistent build cache (3.2x faster builds) by waleedlatif1 · Pull Request #6080 · simstudioai/sim

Description: Summary The Turbopack persistent build cache is a net loss at this app's size. Turning it off cuts the Build App check from 8–20 min to under 3. Measured, not inferred — a controlled A/B in #6078: three runs on one branch, every commit touching only .github/**, so the Next module graph was byte-identical across all three and only cache state varied. run flag pre-build disk compile Build App job C — cache OFF ⨯ 5.1G (ignored) 113s 2m53s A — cache ON, cold ✓ 4.0K 162s 3m54s B — cache ON, warm ✓ 5.1G 360s 8m18s A warm cache made the identical build 3.2× slower than no cache. Why it degrades: the cache grows, it doesn't converge Run B started from 5.1 GB and committed 12 GB — on a tree where nothing changed. That's the mechanism behind the progressive slowdown on longer-lived disks (observed up to 11.7 min): every run adds to what the next must read and revalidate, so a disk gets worse the more it's used. This also corrects an earlier theory of mine that cache mismatch was the variable — accumulated size matters more. Validity controls Flag manipulation confirmed in the logs — cache-on runs print ✓ turbopackFileSystemCacheForBuild; the cache-off run omits it entirely. Every run used turbo --force. Without it, a .github-only commit leaves Turbo's task inputs unchanged, so Turbo replays a cached log and reprints a stale compile time — fabricating the number being measured. Five such phantom runs had to be discarded from the observational data first. No cancelled siblings. cancel-in-progress means an early push cancels a run, and a cancelled run still commits its partial cache. Each run here reached completed before the next push. This mattered: an earlier conclusion of mine ("a brand-new sticky key is not cold") was wrong precisely because the "first" run had a cancelled sibling that had already written 5.1 GB. What this removes, and what it doesn't #5869 enabled the cache on locally-measured numbers (105s cold → 22s warm) that never reproduced in CI and are inverted here. #6072 then branch-scoped the disk to stop PRs restoring each other's caches — that fixed a real problem, but with the cache off the disk serves nothing, so the mount, the size reporting, and the env gate go with it. turbopackFileSystemCacheForBuild: false is pinned explicitly rather than left to the Next default, because upstream already flips that default to true in canary/preview builds (#94616) — relying on the default would let a version bump silently re-enable a config we measured as harmful. ci-cache-cleanup.yml is kept, re-scoped. PRs opened while the per-branch key was live still hold 5–12 GB volumes and nothing else reclaims them; deleting the workflow now would orphan that storage. It's a no-op for new PRs and can be removed once drained. Caveat n=1 per cell. The 3.2× effect size and its agreement with ~15 prior observations make this convincing, but it is three runs, not a distribution. The change is a one-line revert if staging disagrees. Cross-commit restore is separately undocumented-as-supported (#87283 reports stale HTML from a cache built at another commit), so turning it off also removes a correctness risk. Type of Change Performance Improvement Testing tsc --noEmit exit 0, biome clean, actionlint clean on both changed workflows. No dangling references to NEXT_TURBOPACK_BUILD_CACHE or the nextjs-cache key remain. This PR's own Build App run is the confirmation — expect ~2–3 min.

Open Graph Description: Summary The Turbopack persistent build cache is a net loss at this app's size. Turning it off cuts the Build App check from 8–20 min to under 3. Measured, not inferred — a controlled A/B in #60...

X Description: Summary The Turbopack persistent build cache is a net loss at this app's size. Turning it off cuts the Build App check from 8–20 min to under 3. Measured, not inferred — a controlled A/B in...

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

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:6da106d5-a1e1-3ea9-22b7-81ebb8b12740
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC124:361541:4D4B8D:6F607F:6AFB3B81
html-safe-nonce29cb25c5454794fc88a7ba1818d617effe16052a1f6b755befae129528d58f60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTI0OjM2MTU0MTo0RDRCOEQ6NkY2MDdGOjZBRkIzQjgxIiwidmlzaXRvcl9pZCI6IjY0Nzk1MDQ5MDQyNjI3Mjg1NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4dd945ab3238ab2b94c1b90fcd21dd899f040d17b3f128030cc86577d986276f
hovercard-subject-tagpull_request:4165419542
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/6080/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 The Turbopack persistent build cache is a net loss at this app's size. Turning it off cuts the Build App check from 8–20 min to under 3. Measured, not inferred — a controlled A/B in #60...
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/6080/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6080%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%2F6080%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/6080/files
Reloadhttps://github.com/simstudioai/sim/pull/6080/files
Reloadhttps://github.com/simstudioai/sim/pull/6080/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
fix/disable-turbopack-build-cachehttps://github.com/simstudioai/sim/tree/fix/disable-turbopack-build-cache
Conversation 6 https://github.com/simstudioai/sim/pull/6080
Commits 2 https://github.com/simstudioai/sim/pull/6080/commits
Checks 27 https://github.com/simstudioai/sim/pull/6080/checks
Files changed https://github.com/simstudioai/sim/pull/6080/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6080/files
perf(ci): disable the Turbopack persistent build cache (3.2x faster builds) https://github.com/simstudioai/sim/pull/6080/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/6080/files
38a9150 perf(ci): disable the Turbopack persistent build cache waleedlatif1 Jul 30, 2026 https://github.com/simstudioai/sim/pull/6080/commits/38a9150c46ec0390856b5485d6bfd2ce5abd4ed5
e539058 docs(ci): correct the cleanup key comment after the mount was removed waleedlatif1 Jul 30, 2026 https://github.com/simstudioai/sim/pull/6080/commits/e539058b706f60a75889d7560d2d835110b86233
Clear filters https://github.com/simstudioai/sim/pull/6080/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6080/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6080/files
ci-cache-cleanup.yml https://github.com/simstudioai/sim/pull/6080/files#diff-bdb25fe587582f43383089aee49d9dfada0e0c91023b2e37c2558757a85c1976
test-build.yml https://github.com/simstudioai/sim/pull/6080/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
next.config.ts https://github.com/simstudioai/sim/pull/6080/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
.github/workflows/ci-cache-cleanup.ymlhttps://github.com/simstudioai/sim/pull/6080/files#diff-bdb25fe587582f43383089aee49d9dfada0e0c91023b2e37c2558757a85c1976
View file https://github.com/simstudioai/sim/blob/e539058b706f60a75889d7560d2d835110b86233/.github/workflows/ci-cache-cleanup.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6080/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6080/files#diff-bdb25fe587582f43383089aee49d9dfada0e0c91023b2e37c2558757a85c1976
https://github.com/simstudioai/sim/pull/6080/files#diff-bdb25fe587582f43383089aee49d9dfada0e0c91023b2e37c2558757a85c1976
.github/workflows/test-build.ymlhttps://github.com/simstudioai/sim/pull/6080/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
View file https://github.com/simstudioai/sim/blob/e539058b706f60a75889d7560d2d835110b86233/.github/workflows/test-build.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6080/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6080/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/6080/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/6080/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
apps/sim/next.config.tshttps://github.com/simstudioai/sim/pull/6080/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
View file https://github.com/simstudioai/sim/blob/e539058b706f60a75889d7560d2d835110b86233/apps/sim/next.config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6080/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6080/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6080/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
Please reload this pagehttps://github.com/simstudioai/sim/pull/6080/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.