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
Windows: Prove hosted PrintWindow capture determinism before rendered baselines #812
Goal
Before any rendered screenshot baselines exist, prove that a hosted GitHub Actions Windows runner can capture the GraphCode shell's custom-painted client deterministically with PrintWindow(hwnd, hdc, 2). Two independent runs on the same frozen commit must produce matching captures.
Why
The Windows parity work (lane F, wave 2) wants an optional, manually dispatched screenshot regression pipeline, so it can catch visual regressions on surfaces a PR didn't intend to change. That pipeline is only trustworthy if hosted rendering is deterministic, and today that is not established:
Tools/windows/capture-visual-baseline.ps1 captures locally with CopyFromScreen under a foreground lease;
the existing PrintWindow path in uia-live-gate.ps1 only saves timeout diagnostics;
no same-head hosted PNG pair exists.
Scope of the proof (manual only)
One surface: the project canvas with the sidebar, from the shared fixture.
A new workflow_dispatch-only workflow, plus new Tools/windows scripts. No pull_request, label or schedule trigger; it never runs on PRs.
Dispatch it twice at one frozen SHA, and compare the PNGs and their hashes.
A blank or incomplete PrintWindow result fails. There's no screen-copy fallback and no widened tolerance; a failure means product paint support for PrintWindow needs separate work.
No baselines, no required checks, and no validate.ps1, gate or product changes.
Done when
Two independent hosted dispatches at the same SHA both produce non-blank captures that pass content checks.
Their pixel comparison is recorded (exact match, or a measured, explained difference).
The result decides whether the full manual suite (more surfaces, approved baselines, expected/actual/diff artifacts on failure) can proceed.
Closed as not planned (operator decision, 2026-10-14). Screenshot verification stays a local agent review, not a CI pipeline or pixel baseline: a vision-capable reviewer from a different vendor compares the screenshots with the PR description, the diff and the macOS reference. When shared paint code changes, it also checks a fixed small set of neighbouring screens. CI keeps deterministic geometry, behaviour and UIA regression tests.
Activity
coneilen commentedon Oct 14, 2026
Closed as not planned (operator decision, 2026-10-14). Screenshot verification stays a local agent review, not a CI pipeline or pixel baseline: a vision-capable reviewer from a different vendor compares the screenshots with the PR description, the diff and the macOS reference. When shared paint code changes, it also checks a fixed small set of neighbouring screens. CI keeps deterministic geometry, behaviour and UIA regression tests.