Repository navigation
Conversation
why: Exercise multi-pane window VT capture across tmuxp workspaces ahead of the next libvt and libtmux releases. what: - Point [tool.uv.sources] at tmux-python/libtmux#939 and tmux-python/libvt#137 and refresh uv.lock while preserving Python 3.11 compatibility
why: Verify that a multi-pane tmuxp YAML workspace renders split borders, junctions, pane-border-status labels, CJK and SGR styles, zoom state, and live control-mode parity into a single composited Snapshot. what: - Add test_cli_load_multipane_workspace_window_vt_snapshots exercising main-vertical layout, pane-border-status, Window.capture_vt, VtSessionObserver.snapshot_window, assert_window_screen_box, and zoom frame deltas with .ambr snapshots
5 tasks done
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/vt-snapshots #1121 +/- ##
==================================================
Coverage 82.15% 82.15%
==================================================
Files 31 31
Lines 2791 2791
Branches 525 525
==================================================
Hits 2293 2293
Misses 355 355
Partials 143 143 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
why: tmux < 3.6 assigns odd remainder rows in layout_spread_cell to the bottom split pane whereas tmux >= 3.6 assigns them to the top pane; an 8-row window gives 3 + 3 interior rows with zero remainder across all tmux versions. what: - Size the dashboard PTY to 35x8 and refresh .ambr snapshots - Point [tool.uv.sources] at the latest tmux-python/libtmux#939 tip
5 of 6 tasks
why: Keep [tool.uv.sources] libtmux aligned with the latest libtmux #939 commit (601440a36). what: - Repin libtmux to 601440a36a2b293647c880a392b7d4bc1ce52872 - Refresh uv.lock
This branch has not been 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
main-verticalworkspace built bytmuxp loadviaWindow.capture_vt().VtSessionObserver.snapshot_window()andassert_window_screen_box().vt_snapshot.[tool.uv.sources]attmux-python/libtmux#939andtmux-python/libvt#137.Companion PR
libtmuxwindow VT capture: tmux-python/libtmux#939 (stacked on tmux-python/libtmux#934)Changes
pyproject.toml,uv.lock: pointlibtmuxandlibvtin[tool.uv.sources]attmux-python/libtmux#939andtmux-python/libvt#137while preserving Python 3.11 markers.tests/test_vt_snapshots.py,tests/__snapshots__/test_vt_snapshots.ambr: addtest_cli_load_multipane_workspace_window_vt_snapshotscoveringmain-verticalsplit borders,pane-border-status, CJK andSGRstyles, liveVtSessionObserver.snapshot_windowparity, and zoomed window deltas.Test plan
uv run ruff format . .github/scripts --checkanduv run ruff check . .github/scriptsuv run --no-sync ty check --python-version 3.11anduv run --no-sync ty check --python-version 3.15.ambrsnapshots pass on Python 3.15 and skip cleanly on Python 3.11 viauv run pytest tests/test_vt_snapshots.py --reruns=0tmux 3.3atomastermatrix in CI