🤖 bug: OpenSSH shared health probe is killed by the starting caller's abort signal
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 78/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend, networking
Direzione di ricerca
Start in src/node/runtime/sshConnectionPool.ts at SSHConnectionPool.acquireConnection and compare the shared-probe behavior with the SSH2 fix in #5110. Read waitForPromiseWithTimeout and add a held-open probe test covering an aborting caller and a joining caller. Done means the shared probe survives the starting caller's abort while each caller can still abort or time out independently.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
SSHConnectionPool.acquireConnection (OpenSSH) starts a shared (singleflighted) health probe with the starting caller's abort signal: this.probeConnection(config, probeTimeoutMs, key, requestedControlPath, options.abortSignal) in src/node/runtime/sshConnectionPool.ts. On abort, probeConnection kills the probe process (SIGKILL), so the shared promise rejects for every caller that joined it through this.inflight.get(key). A joiner with maxWaitMs: 0 fails with an abort it never made; a joiner with a budget loops and starts a new probe.
This is the OpenSSH counterpart of #5101, which #5110 fixes for the SSH2 pool (the shared connect takes no caller's signal; each caller races its own abort and deadline).
Proposal
Start the shared probe without a caller's abort signal (bounded by its own probe timeout), and keep each caller's abort on its own wait (waitForPromiseWithTimeout already takes the caller's signal). Test with a probe held open, as in #5110.
Found by the final readiness check of #5110. It is pre-existing and outside that PR's scope.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Lingua principale
- TypeScript
- Stelle
- 2.1k
- Fork
- 139
- Merge medio
- 3h 24m
- PR unite (30g)
- 954
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di coder/xum
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
[Bug]: Pen taps on sidebar rows start a drag and lose their clickForse già presa @makhnatkin l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
b310-digital/teammapper#1515 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
puckeditor/puck#1884 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
outline/outline#14378 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nicobailon/pi-web-access#642 ·
I maintainer di solito rispondono entro 1 giorno