claude-switch-only set page.setDefaultTimeout(5000) and then called
page.goto with no timeout of its own, so Playwright held the first load
of app.js, i18n.js and the plugins to the 5s bar meant for clicks. On a
busy box (a whole-suite run at load 130-160) that load took longer and
goto timed out. The same pattern is in 988 GUI test files (1174 pages):
every one of them now also sets setDefaultNavigationTimeout(60000) on
the same page, right after its default, so goto, reload and waitForURL
wait on the load itself with room, while clicks and waits keep their
short bar. group-from-model-add's own 20s navigation bar is raised to the
same minute. claude-switch-only also gives its first provider row (drawn
from the page's first reads) a minute before clicking it.
nav-timeout.test.cjs (no browser) reads every GUI test file and names
each page given a default under a minute without a navigation timeout of
at least a minute, so a new file can't bring the pattern back.
What was run (WSL magpie-desktop, Playwright 1.62.0, load 70-260 from
other sessions):
- node --check on every file in internal/gui/tests: all parse.
- nav-timeout.test.cjs against origin/main's test files: red (names the
1174 pages); against this tree: its only reds were my own probe copies
of the old files, since removed.
- By hand: claude-switch-only with app.js served 7s late (a busy box's
first load), --test-name-pattern "1100 en": origin/main's file 4 of 4
red with "page.goto: Timeout 5000ms exceeded"; this file 4 of 4 green.
- claude-switch-only.test.cjs, both engines, en/zh/ja/de, 1100 and 420:
32 of 32. group-from-model-add, usage-access-key-card and i18n-keys:
green. agent-plugin-agents: Chromium green; WebKit's de 420 subtest red
on a 5s waitForFunction at line 115 (a wait after load, not the
navigation), at load ~230.
Not tried: the whole GUI suite (about 1000 files; the change is one
mechanical line per page), Windows or mote (mote's browsers, #4125).
#834: after v0.1.931 Claude Code's row showed its current model and a full
picker, but Grok Build and Antigravity CLI hadn't caught up and Codex's
list had no "via magpie". Grok Build listed none of its own models
unless a Grok subscription was signed in in magpie. Now it lists:
- the models it last listed itself (models_cache.json, hidden ones left
out, by their names);
- those magpie listed for a Grok subscription;
- the user's own [model."<id>"] tables.
Each says "direct, not via magpie" (xAI, or the table's host).
Antigravity CLI's own custom models say direct, to Anthropic, OpenAI or
Google by their apiProvider. Codex's own models say "direct, not via
magpie" (OpenAI, or the user's own provider) when not routed, and
"via magpie" (Option.Via) while its base URL or its provider points at
magpie's gateway.
#842: under the Agents page's fold, a hidden agent's Show sat on its
name's line, about 9px above the row's middle. It now stands in the
row, level with the row's picker. A grip's dots, hover-only, were cut:
their box was 5px wide with columns 3.5px apart, so the right column was
half gone. This was most visible on the Usage page's cards beside the
logo. The Agents, Providers and Usage grips' boxes now hold both
columns whole: 6px, columns 3px apart, 1px further left. Checked in
screenshots (dark theme, Qoder CN card).
Tests:
- TestOwnModelsSayTheirPath covers:
- Codex not routed, routed by base URL, and on a provider of its own;
- Grok's cache, hidden model and own table;
- agy's custom model.
- agent-own-path.test.cjs and fold-show-grip.test.cjs (WebKit, en and
zh) fail on the old code:
- no tag on Codex's routed own model;
- Show 9px above the picker;
- grip w 5 < its two columns.
agent-start-pick, agent-grip, show-unset-agent, usage-arrange,
usage-quota-head, click-scroll, provider-order, import-row,
agent-layout, desktop-model-menu, agent-leave-magpie and
usage-card-refresh pass on WebKit. go vet and the builds pass (darwin,
GOOS=linux nogui, GOOS=windows). go test -tags nogui -count=1 ./...
under a temp HOME passes; TestCloudflareDecideModelsTested failed once
in the full run and passed on rerun, alone and in its package.