Skip to content

Accept a prepared VT screen as a diff baseline - #191

Merged
tony merged 2 commits into
masterfrom
fix/90-vt-diff-baseline
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/90-vt-diff-baseline

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #90

What changed, and why:

Callers can compare against a prepared screen view with its own region, display options and scrubbers. The core compares one pair of frames, and the Syrupy adapter keeps its existing container pairing.

Checks run:

On Linux, Ruff formatting and lint, ty for Python 3.12 through 3.15, the full pytest suite with doctests, compiled Ghostty comparisons, and the Sphinx warnings-as-errors build passed.

Tool use:

Codex prepared the change and ran the local checks. A separate Codex reviewer replayed the changed behavior and checked the publication tree against the reviewed patch.

tony added a commit that referenced this pull request Dec 3, 2026
why: Readers need the behavior and scope of this change at release.

what:
- Add the unreleased entry for PR #191
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 02:54
@tony
tony force-pushed the fix/146-vt-diff-pairing-and-dicts branch from c148e5e to eef35d1 Compare December 3, 2026 23:58
@tony
tony force-pushed the fix/90-vt-diff-baseline branch from d6a532e to bb606c8 Compare December 3, 2026 23:58
@tony
tony force-pushed the fix/90-vt-diff-baseline branch from bb606c8 to d3444f7 Compare December 5, 2026 11:56
@tony
tony force-pushed the fix/146-vt-diff-pairing-and-dicts branch from eef35d1 to 7925df1 Compare December 5, 2026 11:56
tony added 2 commits December 5, 2026 07:53
why: A configured VT screen view is a documented baseline input.

what:
- Resolve the baseline view before comparing a single pair of frames
- Preserve each view's region, display options, and scrubbers
- Cover prepared views in the public API and the snapshot adapter
why: A baseline can need its own crop or scrubbers when compared with
     the current view.

what:
- Document option inheritance and baseline-specific overrides.
@tony
tony force-pushed the fix/146-vt-diff-pairing-and-dicts branch from 7925df1 to 510e58d Compare December 5, 2026 13:54
@tony
tony force-pushed the fix/90-vt-diff-baseline branch from d3444f7 to 6959631 Compare December 5, 2026 13:54
@tony
tony changed the base branch from fix/146-vt-diff-pairing-and-dicts to master December 5, 2026 14:00
@tony
tony merged commit ae275e1 into master Dec 5, 2026
18 checks passed
@tony tony mentioned this pull request Dec 5, 2026
35 of 38 tasks
@tony
tony deleted the fix/90-vt-diff-baseline branch December 5, 2026 20:42

This branch was successfully deployed

1 active deployment
docs — 69596310 Deployed Dec 5, 2026 by tony via build (3.14) #461
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.

Accept the documented VtScreenView diff baseline

1 participant