5d955a4d4 raised coreScriptBudget to 1,541,427 for Tuned for you's Codex
row. The rule is no raise, so this makes the room instead. What's new
(showWhatsNew, its range pick wnRange, noteBlocks, mergedNotes,
inlineMD, noteLink) and the ask before an update is put in
(confirmUpdate's dialog) move to assets/whatsnew.js. app.js imports it
when one opens (notesJS), as cfgblocked.js and signsheets.js are. The
tray panel and an open modal still restart at once without loading it.
If the import fails, the restart goes ahead as the panel's does. The
budget goes back to 1,539,856, which also takes back 0ac26fb52's raise
to 1,541,798 (a package manager's magpie naming its command) landed
since; the core is 1,532,096 after it (the go test measures what
bootstraps too), app.js 1,307,172
(its budget, 1,316,874, left as main has it). old-webkit.test.cjs lists
whatsnew.js beside the other lazy files; the i18n-keys walk already
reads every asset.
Run (mote, WSL):
- gofmt -l internal/: clean.
- mote-run go test -run TestCoreScriptBudget ./internal/gui: ok
(5d955a4d4 with only the budget put back: red, "the core's scripts are
1541417 bytes, over their budget of 1539856").
- mote-run go test ./internal/gui (whole package): every red is the same
at origin/main 5d955a4d4. These are the AppKit window tests killed at
30s under mote's load, TestSettingsSaveKeepsWhatItDoesNotSend (#4514,
10 of 10 at both), and TestColdTurnsTaken (#4510, 1 of 10 at both).
- wsl-run node --test, both engines, every language: whats-new,
whats-new-failed, whats-new-range, update-notes-ask, update-wait,
update-hide, update-restart, update-release-page, old-webkit,
i18n-keys, menu-scroll, recovered-file, context-tune. 281 of 296 at
--test-concurrency=4. The reds:
- i18n-keys "a plugin's words are its own" (#4524, on main).
- recovered-file x10 (#4320, the same 10 at origin/main 5d955a4d4).
- update-restart webkit zh at 420, 180 vs 174 (#4555, commented).
- context-tune chromium zh 360's chip wait (#4557, filed).
The last two were green when update-restart, recovered-file and
context-tune ran alone at this head and at 5d955a4d4.
Rebased on origin/main f1d0c0bfd (0ac26fb52 changed the update rows and
the budget) and run again at this head: TestCoreScriptBudget ok, and
whats-new, whats-new-failed, whats-new-range, update-notes-ask,
update-wait, update-restart, update-hide, old-webkit in both engines,
100 of 100.
Not tried: the real app's What's new after an update, or the update ask,
in the macOS/Linux window; the GUI tests drive both through the same
page.