console tests: split the two slowest; two edge/console flakes fixed
TestClaimConsoleMutationInvariant (127 s) and TestDemoClaimUXHeadless (104 s) set the gate's floor. Neither is clock-bound in a way a fake clock fixes honestly (real quiesce windows; a real browser on the page's 3 s poll and 650 ms stages), so they are split instead, with no assertion changes. Measured on CI: the invariant 74 s, its probes 16 s, the headless UX tests 14-25 s. - TestDemoClaimUXHeadless is seven top-level tests: the 19 quick scenes, fast at 390/1280, motion at each width and theme (scripts take optional Widths/Themes). - TestClaimConsoleMutationInvariantProbes is its own top-level test; claimProbeCensus stays in the main one. - claimCaseParallelism: half the cores, 8..32 (CI runs 32). - The claim stage recorder times the first stage from its first paint (it measured 644.9 ms on CI from DOMContentLoaded). - TestStartupGateFailsWhenHandlerSetupFails holds its port (deadAddr). - A red GATE_WEIGHTS run prints its failing tests' output, decoded. - CI-measured weights; console 24 shards. Reviewed by Fable 5.2 (split: nothing serious). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from console-slow-tests into main.
8 files changed,
+1,754
−1,743
.amadan/test-gate.sh+17 −4.amadan/test-weights.tsv+1,632 −1,714internal/console/claim_invariant_test.go+24 −9internal/console/demo_claim_ux_test.go+56 −3internal/console/testdata/demo_claim_browser.mjs+3 −3internal/console/testdata/demo_claim_layout.mjs+9 −1internal/console/testdata/demo_claim_motion.mjs+4 −2internal/edge/startup_test.go+9 −7
CI failed — run details
.amadan/test-gate.shLoading diff…
.amadan/test-weights.tsvLoading diff…
internal/console/claim_invariant_test.goLoading diff…
internal/console/demo_claim_ux_test.goLoading diff…
internal/console/testdata/demo_claim_browser.mjsLoading diff…
internal/console/testdata/demo_claim_layout.mjsLoading diff…
internal/console/testdata/demo_claim_motion.mjsLoading diff…
internal/edge/startup_test.goLoading diff…