Skip to content

capture(test[continuity]) Document ambiguous repeated scrollback - #808

Open
tony wants to merge 3 commits into
masterfrom
rmux-py-trim-evidence
Open

tony wants to merge 3 commits into
masterfrom
rmux-py-trim-evidence

Conversation

@tony

@tony tony commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Note

Master through v0.70.0 raised the tmux floor from 3.2a to 3.3a (#888, 0.65.0), resolved the tmux 3.8 hook, popup, and floating-pane suite failures (#825, 0.63.0), and replaced mypy with ty (uv run ty check) and Ruff ANN (#682, 0.70.0).

Equal captures can hide intervening output after repeated rows fill and trim scrollback. This PR documents that ambiguity and adds an isolated, producer-synchronized reproducer for #671. It introduces no public API or continuity guarantee.

The fixture fixes its geometry explicitly and works at the supported tmux 3.2a minimum. An available history_collected increase supplies evidence of collection, but cannot reconstruct evicted text; an absent counter remains unavailable evidence.

Test plan

  • Run the reproducer against tmux 3.2a and local 3.8a.
  • Change the second output burst deliberately and confirm the capture-equality assertion fails.
  • Run Ruff, the full-tree mypy command, and the project's documentation build.
  • Complete pytest suite: the same hooks, popup, and floating-pane failures reproduce on unchanged master.
  • Hosted checks pass at the corrected PR head, including every tmux build lane and CodeQL.

This is the evidence/documentation slice of #671. The issue remains open for diagnostic classification and its cursor/wait consumers. No sibling or engine branch is required. macOS qualification is outside this effort; existing platform support is unchanged.

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.05%. Comparing base (6c92651) to head (697c815).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #808      +/-   ##
==========================================
+ Coverage   61.99%   62.05%   +0.05%     
==========================================
  Files          29       29              
  Lines        5091     5091              
  Branches     1082     1082              
==========================================
+ Hits         3156     3159       +3     
+ Misses       1595     1592       -3     
  Partials      340      340              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tony tony added this to libtmux Nov 1, 2026
@tony tony moved this to In Progress in libtmux Nov 1, 2026
tony added a commit that referenced this pull request Nov 1, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
tony added a commit that referenced this pull request Nov 7, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from 6d0301a to 22f571f Compare November 7, 2026 02:17
tony added a commit that referenced this pull request Nov 22, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from 22f571f to b9bd6b3 Compare November 22, 2026 00:53
tony added a commit that referenced this pull request Nov 22, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from b9bd6b3 to e1bc6c4 Compare November 22, 2026 13:18
tony added a commit that referenced this pull request Nov 22, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from e1bc6c4 to 6171e76 Compare November 22, 2026 14:53
tony added a commit that referenced this pull request Nov 22, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from 6171e76 to 91beedf Compare November 22, 2026 19:26
@tony tony added the area: observation Waits, capture, snapshots, subscriptions label Nov 24, 2026
This was referenced Nov 24, 2026
tony added a commit that referenced this pull request Nov 25, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from 91beedf to 095bb6b Compare November 25, 2026 08:13
tony added a commit that referenced this pull request Nov 28, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from 095bb6b to eeb5b8a Compare November 28, 2026 12:49
tony added a commit that referenced this pull request Nov 29, 2026
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from eeb5b8a to ec6df89 Compare November 29, 2026 02:41
tony added 3 commits November 29, 2026 19:06
why: Equal text, history size, and cursor samples cannot prove output continuity.
what:
- Add a producer-synchronized trim counterexample on an isolated server
- Fix the owned pane's geometry across supported tmux versions
- Document unavailable evidence and the limits of history collection counters
why: Global manual sizing crashes new-session on older supported tmux releases.

what:
- Set the owned window geometry through resize-window after acquisition
- Keep the repeated-output assertion and supported minimum unchanged
why: Readers need product notes before adopting this change.

what:
- Describe pane capture reliability in the unreleased changelog
- Reference PR #808
@tony
tony force-pushed the rmux-py-trim-evidence branch from ec6df89 to 697c815 Compare November 30, 2026 01:07
@tony tony added this to the 0.71.0 milestone Dec 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: observation Waits, capture, snapshots, subscriptions

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant