Skip to content

fix: eliminate pane_contents cleanup race that errors on fish/slow-shell restore - #580

Open
mvanhorn wants to merge 1 commit into
tmux-plugins:masterfrom
mvanhorn:fix/538-fix-restore-pane-contents-race
Open

fix: eliminate pane_contents cleanup race that errors on fish/slow-shell restore#580
mvanhorn wants to merge 1 commit into
tmux-plugins:masterfrom
mvanhorn:fix/538-fix-restore-pane-contents-race

Conversation

@mvanhorn

@mvanhorn mvanhorn commented Jul 9, 2026

Copy link
Copy Markdown

Summary

Eliminate pane_contents cleanup race that errors on fish/slow-shell restore.

Why this matters

On restore, tmux-resurrect prints cat: '.../restore/pane_contents//pane-<id>': No such file or directory at the top of the screen even though the session restores. A second reporter confirms it hits ~2 of 6 panes non-deterministically, that the missing files ARE present inside the pane_contents.tar.gz archive, and that it correlates with fish shell - concluding "the extracted contents might have been cleaned up before these panes were fully restored." Both reporters use fish. This is a race condition, not missing data.

Testing

Changes are scoped to the files named in the fix; added or updated tests where the project has a suite, and matched existing conventions.

Fixes #538

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.

Error on Restoring Session

1 participant