Track build output size and fail CI if it increases too much
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- build-system, ci-cd, performance
Research direction
Start by locating the build command and CI configuration that produce and validate the bundle size. Define a committed size limit, decide whether the root chunk is tracked separately, and verify that normal feature growth requires deliberate threshold updates while unintended increases fail CI.
Written by the indexing model from the issue text.
Description
I've seen libraries do this, where they have a file saying a max allowed bundle size, and you have to increase it manually when the bundle gets bigger. This makes sure there are no accidental large bundle size increases like the one I caught in https://github.com/oxidecomputer/console/pull/2910#issuecomment-3403530384. Unlike some libraries, we expect our total size to be going up regularly as we add more pages and features. That could just mean we increment the max in bigger chunks rather than incrementing it the minimum possible to let the test pass. We could also treat the root chunk separately since it's the thing that users load immediately.
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oxidecomputer/console
-
Disks: Disable 'Size' field when selecting 'Make disk read-only' and 'Image'/'Snapshot' as a source Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxidecomputer/console#3391 · 1 comment ·
-
Alerting > Receivers: Error message for subscriptions gets hidden by empty dropdown when zoomed out Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oxidecomputer/console#3390 ·
-
Difficulty 2/5 Half a day Newbie friendliness 72/100
oxidecomputer/console#3375 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
oxidecomputer/console#3338 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxidecomputer/console#3327 · 2 comments ·
All issues in oxidecomputer/console
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·