You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: the four win32 visual baselines no longer match — the MiniMax logo sits lower than the recorded image #27
A pixel comparison of the 1440px case localises every differing pixel to a single rectangle: x 964..1281, y 318..389 of a 1434x900 image. That rectangle is the MiniMax logo. In the recorded baseline the logo sits higher — high enough that the region crops its top — while the current render puts it lower and complete.
The full browser suite on this host is 481 passed / 4 failed, so the drift is confined to those four cases.
The baselines were re-recorded in 2cb178e49 ("按合并后的源码在三个平台重录视觉基线"). The commits that landed on main after it are the visual-baseline waits in 5cc1cebe / 256d155f8 and the rail flyout exit animation in f88b758e. A wait that lands after the logo has settled records it lower than a wait that fired while it was still moving, and that is the shape of this diff.
Because the recorded PNGs are produced on the CI runners, they should be re-recorded there rather than from a single machine.
Thanks for the careful write-up — the localization to a single rectangle is right, and the numbers can say more about the cause than "sits lower".
This is not a regression from the recent waits.
Two of the three commits you listed do not touch the visual path at all: 256d155f8 is the Node integration test (packages/webui/test/integration/agent-transcript.test.ts, a 30s -> 60s wait on browser-panel-frame) and f88b758e is a different spec file (packages/webui/test/browser/rail-archive.spec.mjs). The third, 5cc1cebe, only added waitForLocalImages(), which waits for img[src^="/assets/"] to finish loading. The wordmark is text, not an image, so that wait cannot move it.
The CI windows-latest job is green on both commits you measured: cb49b84e and 81ab1cec (current main). So the committed win32 baseline still matches the code.
The geometry says "a different font", not "a different position".
win32 baseline wordmark ink bbox: x 971..1278, y 322..389 — 308 x 68
your differing rectangle: x 964..1281, y 318..389 — 318 x 72
The rendered wordmark is larger in both directions. A pure displacement cannot make a glyph larger. Shifting the baseline ink down by a single pixel already produces 1915 differing pixels, more than the 1075 you measured — so the difference you measured is not a shift of that size either.
What actually differs is the host font.
The wordmark is the only text in the whole client CSS that resolves to a host font:
Everything else in the built CSS is a repository-fixed face (the test server injects HarmonyOS Sans and Hack) or a generic monospace. The three committed baselines already differ from each other in exactly this region — win32 308x68, darwin 298x72, linux 289x74 — which is the repository's existing "one set per platform" arrangement.
The CI Windows Server image has no Century Gothic, so it renders the wordmark with Segoe UI. A normal Windows desktop that has Century Gothic renders it with something else, and the ink box changes size. That also explains the crop you saw: the two faces do not sit on the same baseline.
For the record, the 1440 case is the only one whose differing rectangle was localised; the 1024 (1075 px) and 768 (2095 px) cases are assumed to be the same cause but were not measured separately. Separately, embedded-browser-panel-win32.png was not re-recorded in 2cb178e49 — its last change is de6b2f72 — so the four baselines do not share one recording.
What we are doing about it.
The wordmark's font is being taken off the host: the face will ship with the product and be loaded through @font-face, so the rendering stops depending on which fonts the machine happens to have. (Century Gothic itself is a commercial Monotype face and cannot be redistributed, so an open face of the same geometric- grotesque lineage takes its place; the reasoning is written up in the PR.)
Once the face no longer depends on the host, the baselines can be recorded on any machine and compared anywhere — which is the property the current setup is missing.
One note for anyone re-recording: the win32 baseline has to be recorded on a Windows runner. This repository's own plan says the same thing — Linux CI is authoritative for the visual baselines, and a cross-platform pixel drift on another machine is reported as not run rather than as a regression. On a developer desktop with Century Gothic installed, --update-snapshots would bake that host's font into the committed baseline and turn the CI job red.
Merged PR #29 ships the wordmark font with WebUI, removing its dependency on fonts installed on the Windows host. Windows snapshots were refreshed on a hosted runner in 51f6c6b and the related baseline refreshes. Verified on main 38f5c75 in Windows Actions run 44650750776: the workspace panel comparisons at 1440px, 1024px and 768px and the embedded browser panel layout baseline all passed. Closing based on the four named comparison results. The same run reported a separate development-server startup failure in the units step.
Activity
UncleMoc commentedon Nov 10, 2026
Thanks for the careful write-up — the localization to a single rectangle is right, and the numbers can say more about the cause than "sits lower".
This is not a regression from the recent waits.
Two of the three commits you listed do not touch the visual path at all:
256d155f8is the Node integration test (packages/webui/test/integration/agent-transcript.test.ts, a 30s -> 60s wait onbrowser-panel-frame) andf88b758eis a different spec file (packages/webui/test/browser/rail-archive.spec.mjs). The third,5cc1cebe, only addedwaitForLocalImages(), which waits forimg[src^="/assets/"]to finish loading. The wordmark is text, not an image, so that wait cannot move it.The CI
windows-latestjob is green on both commits you measured:cb49b84eand81ab1cec(currentmain). So the committed win32 baseline still matches the code.The geometry says "a different font", not "a different position".
The rendered wordmark is larger in both directions. A pure displacement cannot make a glyph larger. Shifting the baseline ink down by a single pixel already produces 1915 differing pixels, more than the 1075 you measured — so the difference you measured is not a shift of that size either.
What actually differs is the host font.
The wordmark is the only text in the whole client CSS that resolves to a host font:
Everything else in the built CSS is a repository-fixed face (the test server injects HarmonyOS Sans and Hack) or a generic monospace. The three committed baselines already differ from each other in exactly this region — win32 308x68, darwin 298x72, linux 289x74 — which is the repository's existing "one set per platform" arrangement.
The CI Windows Server image has no Century Gothic, so it renders the wordmark with Segoe UI. A normal Windows desktop that has Century Gothic renders it with something else, and the ink box changes size. That also explains the crop you saw: the two faces do not sit on the same baseline.
For the record, the 1440 case is the only one whose differing rectangle was localised; the 1024 (1075 px) and 768 (2095 px) cases are assumed to be the same cause but were not measured separately. Separately,
embedded-browser-panel-win32.pngwas not re-recorded in2cb178e49— its last change isde6b2f72— so the four baselines do not share one recording.What we are doing about it.
The wordmark's font is being taken off the host: the face will ship with the product and be loaded through
@font-face, so the rendering stops depending on which fonts the machine happens to have. (Century Gothic itself is a commercial Monotype face and cannot be redistributed, so an open face of the same geometric- grotesque lineage takes its place; the reasoning is written up in the PR.)Once the face no longer depends on the host, the baselines can be recorded on any machine and compared anywhere — which is the property the current setup is missing.
One note for anyone re-recording: the win32 baseline has to be recorded on a Windows runner. This repository's own plan says the same thing — Linux CI is authoritative for the visual baselines, and a cross-platform pixel drift on another machine is reported as not run rather than as a regression. On a developer desktop with Century Gothic installed,
--update-snapshotswould bake that host's font into the committed baseline and turn the CI job red.Fectivnfy112357 commentedon Nov 20, 2026
Merged PR #29 ships the wordmark font with WebUI, removing its dependency on fonts installed on the Windows host. Windows snapshots were refreshed on a hosted runner in 51f6c6b and the related baseline refreshes. Verified on main 38f5c75 in Windows Actions run 44650750776: the workspace panel comparisons at 1440px, 1024px and 768px and the embedded browser panel layout baseline all passed. Closing based on the four named comparison results. The same run reported a separate development-server startup failure in the units step.