gui: the core budgets back to 1,316,874 and 1,539,856, the sync row's raise undone

a511b11d8 (v0.1.2372, Settings > Sync's Kept on this computer row,
hayden4608) raised appScriptBudget by 623 bytes to 1,317,497 and
coreScriptBudget to 1,540,479. A budget raised whenever a change reaches
it bounds nothing (LESSONS.md). Since then later commits trimmed app.js,
so at origin/main 213d59f3b app.js is 1,308,363 bytes and the core's
scripts 1,533,355: both fit the values they had before the raise with
nothing moved. This puts the constants back and rewrites the two notes
to say the raise was taken back. No code or behaviour changes.

Run on mote through mote-run, at 213d59f3b + this commit; after the
rebase onto 0379f2610 (site docs only) TestCoreScriptBudget ran again: ok.
- go test -count=1 -run TestCoreScriptBudget ./internal/gui/: ok.
- Broken by hand: 7,000 spaces appended to app.js, the same test fails
  with "the core's scripts are 1540355 bytes, over their budget of
  1539856".
- node --test sync-own-fields.test.cjs (the raise's own GUI test),
  Chromium and WebKit: 14 of 14 pass.
- gofmt -l on the test file: clean.

Not run: the full Go and GUI suites; only a test constant and its
comments change.
This commit is contained in:
yetone
2026-10-31 19:14:50 +08:00
parent 0379f26109
commit 4f00a32ffc
File diff suppressed because one or more lines are too long