ac4af582301a4e8a29245dbba767eba31334ddf9
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ce8b67de37 |
gui tests: a page's first load gets a minute, not a click's 5s (#4470)
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). |
||
|
|
06950fbbbb |
gui: Codex's two subagent settings say which is the default and which holds every subagent
HoGee_xxl on X read Codex's "subagent model" as the default for a
subagent the lead names none for, and found every subagent held to it.
The two read alike ("subagents" / "subagent model"), so each now says
what it is, in en, zh, zh-TW, ja and de. Wording and notes only:
- subagent model, unset: the lead picks each subagent's model, one it
names none for runs on the lead's model, a resumed subagent stays on
the model it started on, and a pick here holds every subagent even
when the lead names another.
- subagent model, set: every subagent on it even when the lead names
another; Same as the lead gives the pick back.
- subagents (Codex's default_subagent_model): the model a subagent
starts on when the lead names none; the lead may still name another.
- Codex's settings row "Codex subagent model" shows that line as a .sub
note under its name, as the rows beside it do, not only on hover (the
empty note is in index.html).
app.js stays under its budget with no raise (1,311,673 of 1,311,681):
the comments beside these strings were condensed.
Run (mote-run, Chromium and WebKit, every language):
- node --test codex-subagent-model, codex-subagents-lead, i18n-keys,
codex-memories, codex-memories-settings, codex-start-model-field,
context-tune, gateway-mode, subagent-effort, agent-tweak-fold,
claude-auto-mode, claude-subagent-effort-row, claude-subagents-pick,
desktop-subagent-model: 227 of 248 ok on the first run; 20 reds were
"browserType.launch: Timeout 180000ms" with mote at load 71 and 43
Chrome processes from other runs, one a desktop-subagent-model zh
420px routing wait. The five files with reds, rerun one at a time:
76 of 76 ok.
- After the budget trim: codex-subagent-model + codex-subagents-lead
40 of 40 ok (concurrency 1; at concurrency 2 under load 52 the first
chromium en case of each was red, #2645's class), i18n-keys ok.
- go test ./internal/gui: TestCoreScriptBudget ok. AppKit window tests
killed at their deadlines at load 71-105 (#2645) pass rerun, except
TestMainWindowCorners/macOS_26_SDK, red the same way on origin/main
|
||
|
|
f1e4516da2 |
gui: Codex's and Claude Code's own settings are in the agent's row on the Agents page, not in Settings
The owner, 10-20: Settings › General held Codex subagents, Long
conversations, Codex background compaction, thread titles, thread
descriptions, composer predictions, the auto-review model and the
memories model, apart from the agents they set; "很割裂、很分散,不直观".
They now sit with their agent (AGENT_PREFS): in its opened row on the
Agents page (a Settings list in connectPanel), in a sheet from the
tray panel's row ("Settings" line, openAgentPrefs) and from the agent's
menu ("{agent} settings"). Each row is the one element moved between
those places, so its handlers and state go with it. Settings' search
still finds them, with a row that opens the agent's sheet
(#agentPrefLinks). A gateway has no Agents page and none of them.
Strings for zh, zh-TW, ja and de; docs (reference, agent-wiring,
gui-shell) point at the new place. app.js 1,277,298 bytes and the core
scripts 1,469,058, so both budgets rise.
Run on 6416d639c (the dialog morph, on origin/main
|
||
|
|
793af76242 |
gui: Codex's subagents setting, unset, says the lead picks the model and only falls back to the main model, not just "same as model" (willz on Discord)
willz set Codex's "subagents" to 同主模型 (same as model), and a subagent
still ran on another model. Codex 0.162 lets the spawn_agent call's own
`model` argument win over `[agents] default_subagent_model`
(core/src/agent/child_config.rs:
requested_model.or(agent_default_subagent_model)). The default only
applies to a spawn that names no model, and the spawn_agent tool lists
up to 5 models the lead may name. So "same as model" was false whenever
the lead named a model.
This was reproduced with the real codex-cli 0.162.0 in a sandbox
HOME/CODEX_HOME, against a fake Responses server on port 3683 that logs
each request's model and x-openai-subagent header. The lead ran on
gpt-6.1-sol in every case:
a. lead names astra, default unset -> subagent on gpt-6-astra
b. lead names none, default unset -> subagent on gpt-6.1-sol
c. lead names astra, default sol -> subagent on gpt-6-astra
d. lead names none, default astra -> subagent on gpt-6-astra
magpie already holds every subagent to one model with the "subagent
model" setting (the gateway's codexSubagentPick,
|