Skip to content

build: update pro deps - #3083

Merged
abose merged 2 commits into
mainfrom
ai
Aug 8, 2026
Merged

build: update pro deps#3083
abose merged 2 commits into
mainfrom
ai

Conversation

@abose

@abose abose commented Aug 8, 2026

Copy link
Copy Markdown
Member

No description provided.

abose added 2 commits August 8, 2026 17:45
release:dev fails on windows only, at createDistCacheManifest: the dev
dist cache came to 78203 KB against a hardcoded 78000 KB ceiling that
was shared by every release chain.

Dev builds ship unminified sources and keep the phoenix-pro sources in
dist, so they are legitimately larger than prod. Split the ceiling into
MAX_CACHE_SIZE_KB_PROD (78000, unchanged) and MAX_CACHE_SIZE_KB_DEV
(100000), matching the DEV_MAX_TOTAL_SIZE_MB / PROD_MAX_TOTAL_SIZE_MB
split that already exists in validate-build.js. releaseDev gets its own
createDistCacheManifestDev task; staging and prod are unchanged.

src/cacheManifest.json only matters when the src tree itself is served
(npm run serve). Releases ship dist/, whose manifest is regenerated by
createDistCacheManifest and overwrites the copy makeDistNonJS carried
over, so the src manifest takes the dev limit in both chains. The
shipped artefact is still guarded by createDistCacheManifest and
validateDistSizeRestrictions at their existing prod limits.

Also report the actual limit and measured size in the error message
instead of always naming 78MB.
@sonarqubecloud

sonarqubecloud Bot commented Aug 8, 2026

Copy link
Copy Markdown

@abose
abose merged commit 0ce5b16 into main Aug 8, 2026
12 of 21 checks passed
@abose
abose deleted the ai branch August 8, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant