nav-timeout.test.cjs was red on main since #5425 was filed (11-06),
first for four files and now for 24: each new GUI test copied
page.setDefaultTimeout(5000) without a navigation timeout, and nothing
caught it because CI runs no GUI file. Each short default now sits
beside page.setDefaultNavigationTimeout(60000); clicks and waits keep
their 5s/6s/8s/30s bar. skygunner's 10275d5a6 did the same for the nine
files listed on 11-08, and was never taken; this covers those and the 15
added since.
The class: nav-timeout, i18n-keys and i18n-en-no-cjk read the sources
and need no browser, and LESSONS.md records each of them red on main
after a push that ran chosen GUI files. test.yml's Linux cli job, which
already sets up Node 22, now runs them, so the push that adds the next
offender goes red on CI.
Run (mica; mote was at load 26):
- node --test nav-timeout, i18n-keys, i18n-en-no-cjk at this tree on
origin/main b2b3d488c: 9/9 ok.
- usage-drag, form-align, accounts-switch-alone (changed files, both
engines, every language): 34/34 ok.
- Broken by hand: origin/main's usage-drag copied in beside the fix,
nav-timeout red, naming it.
Not run: the other 21 changed files in a browser (one added line each)
and the whole GUI suite; both machines were running other sessions'
GUI runs.
Co-authored-by: vincent <webmaster@palmit.com.au>
axelburks on Discord: a relay serves its decision model under a name of
its own (an Ark endpoint id). A key's provider with a System One URL
beside a conversation URL can set a model's API to decide (System One
in Model settings' API row, its chip's right-click, or `magpie model
api <pid/model> decide`). The model is then a decision model there:
asked on System One by its own name, offered to routing groups, kept
out of the conversation models, and a turn for it is refused with 400
before the vendor is asked. Auto gives it back. A provider with no
System One URL, with that URL alone, an account, a remote magpie and
Vertex refuse it, saying why. Chat routing (apisAmong) ignores decide.
Broken by hand: removing the decideSet check in DecidesModel turns
TestModelSetToSystemOneIsADecisionModel and
TestModelSetToSystemOneAskedThere red.
Run, on this stack over origin/main 0fc3455e2 (mote's suite lock had
hours of queue, so the suites ran on WSL magpie-desktop under flock):
- go test -timeout 45m ./internal/{provider,gateway,gui,cli,settings,fx}
on WSL, ok; ./internal/codexcat on mote, ok; gofmt -l clean;
go vet on mac, GOOS=linux -tags nogui and GOOS=windows on mote, ok;
TestCoreScriptBudget ok (paid by cutting comments, no raise).
- GUI, both engines, every language, on WSL at the pushed head and at
0fc3455e2: every touched test file plus the provider-editor files a
first run found red. No red at head that isn't red at 0fc3455e2. The
shared reds have issues: i18n-keys #5332, model-chip-steady #4388,
model-copy-id #4621, models-works-only #4391, plugin-move-unserved
#4392, provider-fetch-again #5232, provider-levels-save #4394,
provider-levels-scroll #4395, provider-models-rest #4396,
provider-picks-stay #4397, provider-typed #4673, remote-magpie #4398,
zero-priced-free #5262, model-reasonless (webkit de) #4100,
name-suffix-no-names #1937.
- Rebased on origin/main 4ab1191bc (gateway.go moved under it) and run
again at the pushed head: gateway and provider ok on WSL, gofmt,
vet (mac, linux nogui, windows) and the budget ok, i18n-keys,
model-headers and routing-groups-back with only #5332's red.
Not run at push: the whole GUI suite (1277 files).
Not tried: a real relay's System One endpoint; fake vendors only.
Reported-by: axelburks (Discord)