Repository navigation
tests(feat[ghostty]): Add differential corpus - #215
Merged
Merged
Conversation
why: Default-profile differential checks against compiled libghostty-vt covered only three inline traces in whole-feed mode, silently skipped when LIBGHOSTTY_VT_PATH pointed to a missing binary, and lacked a ci-checked per-profile conformance matrix. what: - Commit recorded .jsonl traces (tmux_popup_lifecycle, nvim_edit_scroll_exit, resize_mid_sync_wide, and core_sessions) and verify lines, wraps, per-cell styles/BCE, scrollback, cursor, and replies against libghostty-vt 1.0.2 in whole and 1-byte split modes. - Make load_optional_ghostty_vt() raise FileNotFoundError when LIBGHOSTTY_VT_PATH points to a missing path while skipping when unset, and validate JSONL headers, bounds, and checkpoints strictly. - Add a pinned, cached ubuntu-24.04-arm test-ghostty CI job (Zig 0.17.1 -Dcpu=baseline and libghostty-vt 1.0.2 SHA-256 pins) in .github/workflows/tests.yml. - Add docs/project/conformance.md across all host profiles, a strict per-section table drift check in tests/test_codec.py, and a CHANGES entry. Fixes #12
35 of 38 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expand
libghostty-vtdifferential verification into a recorded.jsonlcorpus with a pinned CI job and a CI-checked per-profile control-function conformance matrix.Changes
.jsonltraces (tmux_popup_lifecycle,nvim_edit_scroll_exit,resize_mid_sync_wide, andcore_sessions) verified for chunk-boundary prefix determinism in the default test suite and for full whole-feed and 1-byte split parity (lines, soft wraps, per-cell styles and BCE backgrounds, scrollback row counts, cursor, pending wrap, alternate screen, ground state, and replies) against compiledlibghostty-vt1.0.2.load_optional_ghostty_vt()raiseFileNotFoundErrorwhenLIBGHOSTTY_VT_PATHpoints to a missing path while still skipping when unset, and enforce strict JSONL schema validation with negative unit tests.ubuntu-24.04-armtest-ghosttyjob (SHA-256 verified Zig 0.17.1-Dcpu=baselineandlibghostty-vt1.0.2 source/deps tarballs) in.github/workflows/tests.yml.docs/project/conformance.md(linked fromdocs/project/index.md) mapping every control function and mode inlibvt.codecandlibvt.modesacross all host profiles, guarded by a strict Markdown table drift check intests/test_codec.py, plus aCHANGESentry.Fixes #12