8ebf9cbea (a Claude account from a setup-token, v0.1.2167) raised the
app.js budget 1,315,316 -> 1,317,705 and the core-script budget
1,537,034 -> 1,539,423. A raise bounds nothing (#2710), so this takes it
back. app.js's budget is 1,315,316 again. The core's had since been
lowered to 1,538,975 by 1bbaded62 (purposes.js, 448 bytes less); it is
lowered by the 2,389 the setup-token added, to 1,536,586.
The two sign-in sheets that ask one value before a sign-in starts move
out of app.js into signsheets.js: Claude's setup-token sheet and
Copilot's GHE.com host sheet. app.js imports the file only when one is
asked for (signAsk), the way it imports cfgblocked.js. A failed import
says why in the status line. app.js is now 1,314,384 bytes (budget
1,315,316), the core scripts 1,535,654 (budget 1,536,586). old-webkit's
"loaded by index.html" check exempts signsheets.js as it does
cfgblocked.js; its Safari 15 syntax checks still read the file.
Run on xiaomi-gpu (win-run), at the pushed head (this and the next
commit, signin-close's test fix) on origin/main 1bbaded62:
- go test -run TestCoreScriptBudget ./internal/gui: ok.
- node --test claude-setup-token, copilot-ghe, old-webkit, i18n-keys,
signin-close, Chromium and WebKit: 19/19 each. Both sheets open through
the lazy import, their text translated, the setup-token's refusal and
success, the GHE.com host's check.
- gofmt -l internal/gui: empty.
Broken by hand: signAsk without its import, claude-setup-token and
copilot-ghe (Chromium) 0/7.
Not run: the whole GUI suite and the full Go suite on mote, which is
running other sessions' suites at load 82; the full Go suite runs on
Linux after the push.