Skip to content

journeys: steady Chromium raster, as the page screenshots have (the corner flakes) - #167

Merged
ndbroadbent merged 2 commits into
mainfrom
journeys-deterministic-raster
Dec 4, 2026
Merged

ndbroadbent merged 2 commits into
mainfrom
journeys-deterministic-raster

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

The journeys' small, recurring pixel flakes have one cause: journeys.mjs launched Chromium with its defaults (GPU raster, partial raster, LCD text), while capture.mjs, the page screenshots, already pinned a steady raster for exactly this reason.

The latest case: journeys build 307, open-app-stays-in-the-app/02-site-signed-in, 28 pixels. It isn't the avatar. Every changed pixel is on the anti-aliased edge of the site header's Open app button (its rounded border at x 1078–1081 and 1190–1195), each one shade off: (38,88,213) against (39,89,214). The fill is identical. The earlier 06-added and picker corner flakes were the same kind.

Change: the flags move to scripts/screenshots/raster.mjs (STEADY_RASTER), and every screenshot script launches with them: journeys.mjs, lightbox.mjs, checks.mjs and capture.mjs. The flags are software raster, one raster thread, sRGB, no partial raster, no Skia runtime opts, greyscale text and no hinting.

Expected in review: the journey screenshots change once, all of them a little (greyscale text instead of LCD, software raster). That's the one deliberate re-baseline, and after it they should stop flaking. The page screenshots (visual) are unchanged: capture.mjs already used these flags.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@visualci-com

visualci-com Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #336 · 361 unchanged · no changes

This PR vs base: nothing since #320, across 2 builds

docspring/visualci · journeys · build #335 · 28 unchanged · no changes

This PR vs base: 28 changed since #315, across 2 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

…ts (software raster, one thread, sRGB, greyscale text)
@ndbroadbent
ndbroadbent force-pushed the journeys-deterministic-raster branch from e7afcf4 to 0f07b10 Compare December 4, 2026 03:10
@ndbroadbent
ndbroadbent merged commit c1fc14f into main Dec 4, 2026
15 checks passed
@ndbroadbent
ndbroadbent deleted the journeys-deterministic-raster branch December 4, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant