Repository navigation
ci(tests): Exercise tmux 3.7c in place of 3.7b - #746
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #746 +/- ##
==========================================
+ Coverage 56.45% 58.01% +1.56%
==========================================
Files 29 29
Lines 4416 4416
Branches 895 895
==========================================
+ Hits 2493 2562 +69
+ Misses 1607 1543 -64
+ Partials 316 311 -5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
tony
added a commit
that referenced
this pull request
Oct 2, 2026
why: The matrix should cover tmux 3.2a through the 3.8 release candidate. #746 swaps 3.7b for 3.7c, which leaves 3.7b untested. The `git checkout <tag>` build step takes a release-candidate tag the way it takes a release tag. A cache hit could otherwise run the suite against a binary other than the one the cell names. what: - Restore 3.7b beside 3.7c and add 3.8-rc3 to the matrix - Fail the pytest step when `tmux -V` lacks the cell's version (skipped for `master`) - Add a CHANGES entry
tony
added a commit
that referenced
this pull request
Oct 2, 2026
why: The matrix should cover tmux 3.2a through the 3.8 release candidate. #746 swaps 3.7b for 3.7c, which leaves 3.7b untested. The `git checkout <tag>` build step takes a release-candidate tag the way it takes a release tag. A cache hit could otherwise run the suite against a binary other than the one the cell names. what: - Restore 3.7b beside 3.7c and add 3.8-rc3 to the matrix - Fail the pytest step when `tmux -V` lacks the cell's version (skipped for `master`) - Add a CHANGES entry
tony
force-pushed
the
tmux-3.7c-support
branch
from
November 7, 2026 03:06
2a603e9 to
817f6ad
Compare
tony
force-pushed
the
tmux-3.7c-support
branch
4 times, most recently
from
November 22, 2026 19:24
7c2a393 to
44eb210
Compare
tony
force-pushed
the
tmux-3.7c-support
branch
2 times, most recently
from
November 28, 2026 12:49
9a89022 to
625ee72
Compare
why: tmux 3.7c is the current 3.7 point release. libtmux needs no code change to accept it -- get_version() strips the point-release suffix so the existing 3.7 feature gates already match, and the break-pane crash workaround keys on the raw "3.7" string via get_version_str(). what: - Swap the 3.7b matrix lane for 3.7c - Reword two test docstrings that named 3.7b as a tested point release, phrasing them so later point releases need no edit Verified: full suite against a locally built tmux 3.7c, 1455 passed, 1 skipped.
why: Record the tested-version change and the one tmux-side behavior shift users of new_pane() will notice. what: - Add a Development entry noting CI exercises tmux 3.7c and why the point release needs no library change - Note that a floating pane created in a zoomed window unzooms it on 3.7c, where 3.7 through 3.7b left the window zoomed
why: The current cache builder requires a release checksum for every stable matrix entry. The branch adds tmux 3.7c to that matrix. what: - Record the official 3.7c archive digest in the release manifest Source: https://github.com/tmux/tmux/releases/tag/3.7c
tony
force-pushed
the
tmux-3.7c-support
branch
from
November 28, 2026 13:27
625ee72 to
464099b
Compare
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
.github/tmux-releases.toml.3.7bCI matrix lane with3.7cin.github/workflows/tests.yml.3.7a/3.7btest docstrings intests/test_pane.pyandtests/test_window.py.3.7cCI coverage andPane.new_pane()zoom behavior inCHANGES.Design decisions
Why no library change is needed
libtmux.common.get_version()strips point-release letter suffixes, parsing"3.7c"asLooseVersion("3.7")so everyhas_gte_version("3.7")gate accepts it. The single caller reading the raw suffix,libtmux.common.get_version_str(), feeds thePane.break_pane()crash workaround and compares against literal"3.7", so3.7ctakes the fixed path.Upstream changes assessed
Every entry in the 3.7c changelog and
3.7b..3.7cdiff was checked against libtmux's surface:configure.ac,proc.c) affects native builds only.window.c) touches no libtmux API.format.c) preserves identical output.message-styleas themessage-formatdefault (status.c) leaves typed option fields unchanged.layout.c) requires no library guard (see below).spawn.c), treating a lone empty command string as-E(cmd-split-window.c), and clearing self-matches underSORT_NAMEinserver_destroy_session()(server-fn.c) need no libtmux changes.Behavior note for
new_pane()On
3.7c, creating a floating pane in a zoomed window unzooms it (window_zoomed_flaggoes from1to0), whereas3.7through3.7bleft the window zoomed:Upstream unzooms the window before creating the floating pane to avoid a layout crash; neither detached nor pty-attached runs on
3.7,3.7a, or3.7btrigger one throughPane.new_pane(), so libtmux needs no version guard.Why the
3.7alane stays3.7aand3.7bare the only releases where an empty-nname falls back to the command name instead of staying empty. Probed across tmux3.2athrough3.7c:3.7ais the older release still deployed in the wild, so it keeps its CI lane.Test plan
uv run pytest --reruns=0passes against a locally built tmux3.7cbinaryuv run pytest .github/scripts/test_tmux_build.py --reruns=0validates.github/tmux-releases.tomlarchive pinningjust build-docsbuilds documentation and resolves MyST roles inCHANGESuv run ruff check .,uv run ruff format --check ., anduv run mypypass