Skip to content

Attempt to fix bloated installer size - #3943

Merged
fredrikekelund merged 6 commits into
trunkfrom
f26d/package-updates
Jun 24, 2026
Merged

Attempt to fix bloated installer size#3943
fredrikekelund merged 6 commits into
trunkfrom
f26d/package-updates

Conversation

@fredrikekelund

@fredrikekelund fredrikekelund commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Primarily trying to reconcile the big jump in installer size that we saw recently

Related issues

N/A

How AI was used in this PR

N/A

Proposed Changes

#3829 bumped the installer size significantly. We discussed this just after that PR was merged, and I made an effort in #3784 to fix the problem. Turns out that didn't work, because the installer size is still huge.

This PR fixes the problem by restoring the --omit=dev option in the install:bundle script that's used to package apps/studio dependencies when building the app.

Testing Instructions

See installer size results from performance metrics CI job

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
Primarily trying to reconcile the big jump in installer size that we saw recently
@fredrikekelund fredrikekelund self-assigned this Jun 24, 2026
@wpmobilebot

wpmobilebot commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 0b5f974 vs trunk

app-size

Metric trunk 0b5f974 Diff Change
App Size (Mac) 2344.38 MB 1311.86 MB 1032.52 MB 🟢 -44.0%

site-editor

Metric trunk 0b5f974 Diff Change
load 766 ms 1048 ms +282 ms 🔴 36.8%

site-startup

Metric trunk 0b5f974 Diff Change
siteCreation 6503 ms 6472 ms 31 ms ⚪ 0.0%
siteStartup 6981 ms 6473 ms 508 ms 🟢 -7.3%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@fredrikekelund

fredrikekelund commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

OK… So, clearly, the problem is not solved by upgrading the Playground dependencies 🤔

Comment thread apps/studio/package.json
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@formatjs/intl-locale": "^3.4.5",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just restoring my changes from #3776

@katinthehatsite

Copy link
Copy Markdown
Contributor

I saw that both unit tests and e2e tests were failing so I retriggered them - the unit tests are good now. It seems that e2e tests are still failing 🤔

@fredrikekelund
fredrikekelund merged commit f7f8811 into trunk Jun 24, 2026
11 checks passed
@fredrikekelund
fredrikekelund deleted the f26d/package-updates branch June 24, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants