ssh install ends within a second of a signal while sftp's ssh still connects (closes #57) #58

Merged
clawbot merged 1 commits from issue-57-sftp-sigterm-waitdelay into next 2026-10-04 14:25:48 +02:00
1 Commits
Author SHA1 Message Date
clawbot 397ed5ca60 ssh install ends within a second of a signal while sftp's ssh still connects (closes #57)
check / check (push) Failing after 1s
A signal during ssh install now sends sftp a SIGTERM instead of killing it, so sftp stops the ssh it started, as ssh to already does for ssh. sftp also runs with a WaitDelay of a quarter second, so something it started that still holds its output cannot keep the tool waiting: the tool ends with status 1 and removes its working directory. The test's sftp stand-in now leaves such a child behind, and the test requires that within a second.

Judgement call: a session whose sftp ended well is not failed because something it started still holds its output when the WaitDelay is up, as the master ssh left by ControlPersist under -v does.

Model: opus-5-5
2026-10-04 11:52:49 +00:00