You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix SSHRuntime to pass abort signals to all exec() calls
Audit revealed several exec() calls in SSHRuntime that weren't respecting
abort signals even though they go through SSH:
Fixed:
- stat(): Now passes abortSignal to exec() (was ignoring it)
- syncProjectToRemote(): All exec() calls now pass abortSignal
- git remote set-url origin
- git remote remove origin
- rm bundle cleanup operations
- Bundle creation spawn() now handles abort signal
- createWorkspace(): mkdir exec() now passes abortSignal
- deleteWorkspace(): All exec() calls now pass abortSignal
- test -d existence check
- git diff uncommitted changes check
These operations all go through SSH and can benefit from cancellation,
especially bundle creation which can take significant time on large repos.
0 commit comments