Skip to content

cookbook: retire remote-session-restore - #1000

Merged
umputun merged 1 commit into
umputun:masterfrom
maxshevelev:retire-remote-session-restore
Nov 14, 2026
Merged

umputun merged 1 commit into
umputun:masterfrom
maxshevelev:retire-remote-session-restore

Conversation

@maxshevelev

Copy link
Copy Markdown
Contributor

agterm saves rows attached from another Mac and re-attaches them on relaunch since #999, which is what this recipe did. With both in place the recipe's app.launched replay creates duplicate rows, so the recipe comes out rather than staying for older versions.

Users of the recipe should remove its replay line from hooks.conf after updating to the release that includes #999.

🤖 Generated with Claude Code

agterm restores rows attached from another Mac itself since umputun#999, so the
recipe's app.launched replay would only duplicate them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@umputun umputun left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. One note on the switch-over, which I'll also put in the release notes: a snapshot written by 0.42.x has no attached rows, so on the first launch of the release with #999 it's still the recipe's replay that brings them back, and agterm saves them itself from then on. So the clean path is to keep the hooks for that first launch, and if a host was down, retry until every row you want is back. Then remove all four of the recipe's lines from hooks.conf (not only replay), run agtermctl hooks reload, and delete ~/bin/remote-restore. A row still waiting in the recipe's list when it goes is not restored by agterm and has to be attached again by hand, and replay left on past that point duplicates the rows agterm already restores.

@umputun
umputun merged commit bb84340 into umputun:master Nov 14, 2026
8 checks passed
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.

2 participants