File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,9 +73,13 @@ COPY --from=pruner /app/bun.lock ./bun.lock
7373# resolved it from the registry at build time, which pulled a different major
7474# (13.x vs the pinned 12.4.0) and bypassed the `minimumReleaseAge` supply-chain
7575# gate in bunfig.toml on every production image build.
76+ #
77+ # This stage contains only the pruned workspace manifests, while the full lockfile
78+ # still describes every workspace. Bun must be allowed to normalize that lockfile
79+ # to the pruned graph; the full-repository CI install owns frozen-lockfile validation.
7680RUN --mount=type=cache,id=bun-cache,target=/root/.bun/install/cache \
7781 --mount=type=cache,id=npm-cache,target=/root/.npm \
78- HUSKY=0 bun install --frozen-lockfile -- ignore-scripts --linker=hoisted && \
82+ HUSKY=0 bun install --ignore-scripts --linker=hoisted && \
7983 cd node_modules/isolated-vm && JOBS=4 /app/node_modules/.bin/node-gyp rebuild --release
8084
8185# ========================================
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ COPY packages/logger/package.json ./packages/logger/package.json
1717COPY packages/tsconfig/package.json ./packages/tsconfig/package.json
1818COPY packages/utils/package.json ./packages/utils/package.json
1919
20- # Install dependencies with cache mount for faster builds
20+ # Install dependencies with cache mount for faster builds. This stage contains
21+ # only the migration workspace manifests, so Bun must normalize the full root
22+ # lockfile to that subset; full-repository CI owns frozen-lockfile validation.
2123RUN --mount=type=cache,id=bun-cache,target=/root/.bun/install/cache \
22- bun install --frozen-lockfile -- ignore-scripts
24+ bun install --ignore-scripts
2325
2426# ========================================
2527# Runner Stage: Production Environment
You can’t perform that action at this time.
0 commit comments