陈大猫 and Cursor
6fad3f0b76
fix(sftp): reconnect terminal side panel after SSH session loss ( #1608 ) ( #1621 )
...
* fix(sftp): reconnect terminal side panel after SSH session loss
When SSH disconnects while the terminal SFTP side panel is browsing a stale
path, auto-connect reused a dead tab and left the pane stuck on loading.
Rebind SFTP when the terminal session changes and skip reuse unless the
backend session is healthy; also stop follow-terminal-cwd retry loops to
missing directories.
Fixes #1608
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix(sftp): address review findings for side panel reconnect
Harden auto-connect after bugbot review: skip tab reuse on SSH session
change, move follow-cwd backoff ref into the interactive body, and make
navigateTo return reached/failed/aborted so follow mode only backs off on
real path failures.
Co-authored-by: Cursor <cursoragent@cursor.com >
---------
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 14:31:23 +08:00
..
2026-06-23 18:56:46 +08:00
2026-06-23 01:26:12 +08:00
2026-06-22 18:23:58 +08:00
2026-06-10 01:10:33 +08:00
2026-06-23 01:26:12 +08:00
2026-06-05 15:59:21 +08:00
2026-06-23 14:20:05 +08:00
2026-06-19 15:46:23 +08:00
2026-06-24 14:10:17 +08:00
2026-06-22 10:03:05 +08:00
2026-06-24 00:40:16 +08:00
2026-06-24 14:31:23 +08:00
2026-06-11 18:07:11 +08:00
2026-04-16 22:43:19 +08:00
2026-06-23 20:08:43 +08:00
2026-06-24 14:16:16 +08:00
2026-06-24 01:20:28 +08:00
2026-06-23 14:20:05 +08:00
2026-06-23 01:49:57 +08:00
2026-06-23 09:51:32 +08:00
2026-04-22 01:19:33 +08:00
2026-06-11 03:11:39 +08:00
2026-06-09 03:35:03 +08:00
2026-06-19 15:20:35 +08:00
2026-06-23 18:56:46 +08:00
2026-06-11 03:11:39 +08:00
2026-06-23 18:56:46 +08:00
2026-06-23 18:56:46 +08:00
2026-04-21 22:16:49 +08:00
2026-06-22 18:23:58 +08:00
2026-06-06 22:52:35 +08:00
2026-06-06 22:52:35 +08:00
2026-06-17 23:32:36 +08:00
2026-06-22 10:49:24 +08:00
2026-04-12 17:11:50 +08:00
2026-06-10 01:10:33 +08:00
2026-06-22 23:06:05 +08:00
2026-06-22 23:06:05 +08:00
2026-06-08 21:42:18 +08:00
2026-06-05 15:35:21 +08:00
2026-06-05 06:03:45 +00:00
2026-06-11 04:24:48 +08:00
2026-06-23 14:20:05 +08:00
2026-06-22 10:49:24 +08:00
2026-06-22 10:49:24 +08:00
2026-06-05 02:15:50 +00:00
2026-06-22 10:49:24 +08:00
2026-06-05 15:35:21 +08:00
2026-06-22 10:49:24 +08:00
2026-06-22 10:49:24 +08:00
2026-06-17 23:32:36 +08:00
2026-05-07 12:57:54 +08:00
2026-06-23 01:26:12 +08:00
2026-06-18 11:26:26 +08:00
2026-06-19 15:46:23 +08:00
2026-05-28 15:12:19 +08:00
2026-05-28 15:12:19 +08:00
2026-06-19 15:46:23 +08:00
2026-06-11 16:05:17 +08:00
2026-06-23 01:49:57 +08:00
2026-06-10 01:10:33 +08:00
2026-05-07 17:38:17 +08:00
2026-06-23 01:26:12 +08:00
2026-06-22 10:03:05 +08:00
2026-06-03 01:45:29 +08:00
2026-06-05 15:59:21 +08:00
2026-06-05 15:35:21 +08:00
2026-06-11 16:05:17 +08:00
2026-06-10 23:19:31 +08:00
2026-06-10 23:19:31 +08:00
2026-03-23 23:13:58 +08:00
2026-05-12 20:14:24 +08:00
2026-06-11 16:05:17 +08:00
2026-06-11 16:05:17 +08:00
2026-06-23 01:26:12 +08:00
2026-05-12 20:14:24 +08:00
2026-05-31 15:39:26 +08:00
2026-06-22 22:04:33 +08:00
2026-06-23 11:30:55 +08:00
2026-06-08 19:42:45 +08:00
2026-05-09 17:47:45 +08:00
2026-06-24 14:31:23 +08:00
2026-06-09 03:35:03 +08:00
2026-05-18 11:31:50 +08:00
2026-06-12 16:09:29 +08:00
2026-05-31 18:01:43 +08:00
2026-05-28 15:12:19 +08:00
2026-06-23 17:22:55 +08:00
2026-06-23 17:22:55 +08:00
2026-05-28 15:12:19 +08:00
2026-06-01 23:05:56 +08:00
2026-06-10 01:29:49 +08:00
2026-06-24 12:02:57 +08:00
2026-06-23 20:25:16 +08:00
2026-06-22 20:48:16 +08:00
2026-06-24 01:27:20 +08:00
2026-06-22 20:48:16 +08:00
2026-06-09 03:35:03 +08:00
2026-06-09 03:35:03 +08:00
2026-06-19 15:47:47 +08:00
2026-06-19 15:47:47 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 23:19:31 +08:00
2026-05-01 16:31:58 +08:00
2026-05-18 20:00:10 +08:00
2026-05-25 22:20:45 +08:00
2026-04-08 16:42:32 +08:00
2026-06-17 23:32:36 +08:00
2026-06-23 14:20:05 +08:00
2026-05-18 20:00:10 +08:00
2026-06-17 23:41:29 +08:00
2026-06-22 22:19:20 +08:00
2026-06-22 18:23:58 +08:00
2026-06-22 18:23:58 +08:00
2026-06-23 01:26:12 +08:00
2026-06-22 22:19:20 +08:00
2026-06-08 15:57:25 +08:00