Skip to content

Commit b045eae

Browse files
authored
revert(ci): drop turbopackFileSystemCacheForBuild and restore actions/cache (#4500)
Build times grew monotonically from ~200s to 1305s (~6x) after #4478 landed. The Turbopack FS cache flag combined with sticky-disk persistence caused unbounded cache growth. Reverting both — keeping the poweredByHeader and optimizePackageImports trim from the original PR.
1 parent 401ebcc commit b045eae

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ jobs:
4444
key: ${{ github.repository }}-turbo-cache
4545
path: ./.turbo
4646

47-
- name: Mount Next.js build cache (Sticky Disk)
48-
uses: useblacksmith/stickydisk@v1
47+
- name: Restore Next.js build cache
48+
uses: actions/cache@v5
4949
with:
50-
key: ${{ github.repository }}-nextjs-cache
5150
path: ./apps/sim/.next/cache
51+
key: ${{ runner.os }}-nextjs-${{ hashFiles('bun.lock') }}
52+
restore-keys: |
53+
${{ runner.os }}-nextjs-
5254
5355
- name: Install dependencies
5456
run: bun install --frozen-lockfile

apps/sim/next.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ const nextConfig: NextConfig = {
9898
experimental: {
9999
optimizeCss: true,
100100
preloadEntriesOnStart: false,
101-
turbopackFileSystemCacheForBuild: true,
102101
optimizePackageImports: [
103102
'lodash',
104103
'framer-motion',

0 commit comments

Comments
 (0)