Commit Graph
4 Commits
Author SHA1 Message Date
yetone 4701ed9812 gui tests: the Routing request-pick tests measure the row once the day's click has settled
routing-proxy failed 2 to 3 runs in 8 in Chromium alone, and
routing-zcode-blocked 1 in 2, with "picking the request moved the page".
That rate goes back at least 800 commits, so no single commit turned it
red. Traced: the row's top was read right after the day's last request row
appeared. Those rows grow #rt above the list (294 -> 471 px), and the
day button's click is held in place by scrolling the view (219 px) for 4s
(held.until in app.js), but the ResizeObserver that does it runs before the
next paint, after the test's read. So `was` was taken from a frame no
user sees (the day button read 431 against 389 where it was clicked and
where it is painted), and the request click then measured the correction.
The app keeps its guarantee; the test measured too early.

The same read sat in ten tests: remote-group-served, routing-blocked,
-burst-speed, -kind, -proxy, -served, -shape, -upstream, -wb-refused and
-zcode-blocked. Each now reads the row once its top is the same on two
animation frames in a row. routing-failed-open already waited for that.

Run: routing-proxy and routing-zcode-blocked six times each in Chromium
(0 failures each, against 3/8 and 1/2 before). All ten files in Chromium
and WebKit, en and zh, pass. With the click hold switched off in the
served app.js (keepHeld and heldSizes) and a pick that scrolls the view by
60px, routing-proxy fails 2/2 in both engines.
2026-10-11 04:56:33 +08:00
yetone 116a85f270 gui tests: the Routing page's tests pick a day from the date bar, not the By request button (#860 flake) — remote-group-served's zh case timed out 2 in 9 after 5464a362, but it did so as often before it: under the same load old and new each passed 20 of 21 (18 of 18 run one at a time). The By request / By session buttons are .rt-day too, so .rt-day nth(1) could be the pressed By request button, which WebKit sometimes never calls stable, and the click timed out. remote-group-served and 11 other routing tests now click .rt-days .rt-day, as click-scroll and purpose-filter do. remote-group-served zh in WebKit: 18 of 18 under three loops at once; the 12 tests and purpose-filter, click-scroll pass on WebKit except routing-served, whose tooltip assertion fails the same on origin/main. go vet and go test -tags nogui ./internal/gui/ under a temp HOME pass. 2026-10-05 13:57:37 +08:00
FanbuzandClaude Opus 5.5 3ce0a0bf27 fix: 收敛中文界面文案 (#846)
删去中文提示里的过程叙述和动机解释,保留数字、条件和后果;同步更新相关测试的中文断言。

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 10:27:19 +08:00
yetone 9547cee9ce gateway: a member whose proxy is down goes on to the next without resting (#381) — with the local proxy (127.0.0.1:1082) not listening, Cursor and SuperGrok in a group failed with "proxyconnect tcp: … connection refused", were counted as failing ("other") and set aside on a backoff that grew with every request, so they stayed out after the proxy came back. A 502 whose error is Go's proxyconnect or socks connect is now "proxy": nothing reached the vendor, the next member is asked as for a request a vendor couldn't read, and nobody rests. The Routing page tags it "proxy not reachable" and says the request never reached the vendor, in English and Chinese. TestProxyDownDoesNotRest (HTTP and SOCKS proxies) and routing-proxy.test.cjs (Chromium, WebKit, en/zh) fail without the change; routing-shape, click-scroll, old-webkit pass. go vet, go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass. (#381) 2026-10-01 12:44:48 +08:00