fix: review-poll.sh still uses tmux for session cleanup and injection #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
review-pr.shwas migrated to SDK (agent_run --resume+.sidfiles), butreview-poll.shstill references tmux sessions for:tmux list-sessions,tmux kill-session— these find nothing since review-pr.sh no longer creates tmux sessions. Dead code.tmux paste-buffer,tmux send-keys— attempts to inject new diffs into a running tmux session that doesn't exist. Non-functional.The code doesn't crash (all tmux calls are guarded with
|| true), but stale sessions are never cleaned up via the new mechanism (.sidfiles, worktrees).Mirrors codeberg.org/johba/disinto#777 (persistent reviewer sessions — core feature is done, this is the cleanup).
Fix
.sidfile + worktree cleanupreview-pr.shitself via--resume).sidfiles and review worktrees for merged/closed PRsAffected files
review/review-poll.sh