Repository navigation
test: cover saved menu slot repeatability - #13963
Open
carlitogwapito wants to merge 1 commit into
Open
carlitogwapito wants to merge 1 commit into
carlitogwapito wants to merge 1 commit into
Conversation
danielhanchen
added a commit
that referenced
this pull request
Oct 16, 2026
…13983) ## Summary `Frontend build + bundle sanity` fails on PRs based on current main (for example #13961 and #13963) with `over the startup budget`. Main itself is over: | commit | raw | transfer | |---|---|---| | 5870795 | 6,791,021 B (within) | 2,042,102 B (within) | | 4a8b727 (main) | 6,791,768 B (587 B over) | 2,042,404 B (113 B over) | All numbers are from one machine and build, Node 24, with the chunk count unchanged at 95. Measured commit by commit, no single import did it: - Deep research under Tools in the + menu (#13959) took main over, at +0.2 KB raw. - The connection name and provider menu order (#13964) and the attachment card polish (#13970) add the rest, 0.1 and 0.4 KB raw. All of it lands in the eager chat and settings chunks. ## Change Following the file's own rule ("raise BUDGET in this file ... with the measured numbers"), the budget is raised by that growth, 747 B raw and 302 B transfer, so main keeps the margin it had at 5870795. The measurement is recorded next to the limits like the previous raises. ## Testing - `npm run build && npm run bundle:check` on main with this change: within budget (0.2 KB transfer, 0.2 KB raw to spare). Without it: over by the amounts above. - `tests/bundle-budget-cli.test.ts` and `tests/bundle-budget-closure.test.ts`: 43 passed. - `prettier --check scripts/check-bundle-budget.ts`: clean.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small test-only follow-up to #13959.
Adds a check for all nine saved Deep research positions and eight rotations of the other items (72 combinations), using frozen input arrays. It checks the saved slot, movable-item order, a single fixed ID, and the same result after a repeated call. No production files change.
Focused validation on Windows with Node 24.15.0: 10 passed, 0 failed or skipped, including the nine existing menu tests:
This used the real store, the existing in-memory storage helper, and the lockfile's React/Zustand versions. Full frontend lint, typecheck, build, and browser/desktop tests weren't run locally.
Optional: keep this as a pure-helper guard alongside the existing source-shape checks; it doesn't replace a real drag or keyboard check.