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
refactor: deduplicate sleepWithAbort into shared abort utility
Extract the identical sleepWithAbort function from SSHRuntime,
sshConnectionPool, SSH2ConnectionPool, and codexOauthService into
src/node/utils/abort.ts (which already hosts AbortSignal helpers).
The four copies had trivial cosmetic differences (error message text,
optional vs required signal param) but identical behavior. The shared
version uses optional AbortSignal and 'Operation aborted' error text,
matching the convention used by the majority of callers.
0 commit comments