陈大猫 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-24 14:31:23 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 23:22:19 +08:00
2026-06-10 23:22:19 +08:00
2026-05-28 15:12:19 +08:00
2026-06-20 11:27:00 +08:00
2026-06-20 11:27:00 +08:00
2026-05-27 00:03:08 +08:00
2026-06-12 00:47:17 +08:00
2026-06-23 01:49:57 +08:00
2026-06-23 01:49:57 +08:00
2026-05-22 22:26:05 +08:00
2026-05-22 22:26:05 +08:00
2026-04-10 21:43:15 +08:00
2026-05-09 16:16:17 +08:00
2026-04-22 19:03:38 +08:00
2026-05-01 16:31:58 +08:00
2026-05-01 16:31:58 +08:00
2026-05-01 16:31:58 +08:00
2026-06-09 03:35:03 +08:00
2026-05-11 14:07:15 +08:00
2026-06-09 03:35:03 +08:00
2026-06-09 03:35:03 +08:00
2026-06-10 11:04:36 +08:00
2026-05-28 15:12:19 +08:00
2026-06-03 10:27:50 +08:00
2026-06-03 10:27:50 +08:00
2026-05-26 02:42:41 +08:00
2026-05-26 02:42:41 +08:00
2026-05-26 02:42:41 +08:00
2026-05-26 02:42:41 +08:00
2026-04-28 21:21:46 +08:00
2026-04-28 21:21:46 +08:00
2026-06-11 14:48:52 +08:00
2026-06-11 14:48:52 +08:00
2026-03-26 21:52:10 +08:00
2026-06-09 03:35:03 +08:00
2026-06-13 08:58:04 +08:00
2026-06-03 01:45:28 +08:00
2026-06-19 16:08:18 +08:00
2026-06-17 18:43:50 +08:00
2026-06-23 01:49:57 +08:00
2026-06-23 01:49:57 +08:00
2026-06-17 18:43:42 +08:00
2026-06-17 18:43:42 +08:00
2026-06-14 01:30:44 +08:00
2026-06-14 01:30:44 +08:00
2026-06-22 12:09:52 +08:00
2026-06-22 23:59:32 +08:00
2026-06-22 23:59:32 +08:00
2026-06-22 12:09:52 +08:00
2026-05-28 15:12:19 +08:00
2026-06-12 14:00:16 +08:00
2026-06-12 14:00:16 +08:00
2026-05-31 18:01:43 +08:00
2026-06-11 14:48:52 +08:00
2026-06-18 12:10:02 +08:00
2026-06-04 23:44:27 +08:00
2026-06-10 19:38:39 +08:00
2026-06-14 01:30:44 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 01:10:33 +08:00
2026-06-09 03:35:03 +08:00
2026-06-09 03:35:03 +08:00
2026-06-06 18:59:48 +08:00
2026-06-06 18:59:48 +08:00
2026-06-22 23:06:05 +08:00
2026-05-01 16:31:58 +08:00
2026-05-01 16:31:58 +08:00
2026-06-12 01:21:28 +08:00
2026-06-12 01:21:28 +08:00
2026-01-21 13:55:30 +08:00
2026-06-12 17:46:32 +08:00
2026-06-22 22:26:36 +08:00
2026-06-22 22:26:36 +08:00
2026-06-12 00:47:17 +08:00
2026-06-12 14:16:09 +08:00
2026-06-12 00:47:17 +08:00
2026-04-10 10:39:37 +08:00
2026-06-23 01:49:57 +08:00
2026-06-23 01:49:57 +08:00
2026-02-07 13:44:19 +08:00
2026-06-01 19:29:53 +08:00
2026-06-22 18:23:58 +08:00
2026-06-10 15:18:37 +08:00
2026-06-10 15:18:37 +08:00
2026-06-07 19:05:33 +08:00
2026-06-14 01:30:44 +08:00
2026-05-27 15:12:42 +08:00
2025-12-13 01:38:44 +08:00
2026-04-15 03:09:55 +08:00
2026-03-21 21:29:58 +08:00
2026-05-06 17:33:46 +08:00
2026-06-18 10:52:15 +08:00
2026-06-11 16:05:17 +08:00
2026-06-10 23:19:31 +08:00
2026-06-23 20:25:16 +08:00
2026-06-23 19:39:21 +08:00
2026-06-22 14:08:53 +08:00
2026-05-18 11:31:50 +08:00
2026-03-28 19:44:37 +08:00
2026-06-12 16:09:29 +08:00
2026-03-31 23:55:45 +08:00
2026-06-22 18:23:58 +08:00
2026-06-23 03:35:44 +08:00
2026-06-23 03:35:44 +08:00
2026-01-28 11:13:17 +08:00
2026-06-11 04:19:21 +08:00
2026-06-23 14:11:03 +08:00
2026-06-11 04:19:21 +08:00
2026-02-12 21:31:01 +08:00
2026-06-09 03:35:03 +08:00
2026-06-18 11:50:19 +08:00
2026-06-22 18:23:58 +08:00
2026-06-11 03:11:39 +08:00
2026-06-11 16:05:17 +08:00
2026-06-04 17:20:44 +08:00
2026-06-04 17:20:44 +08:00
2026-05-01 16:31:58 +08:00