Playwright Local Browser Server Start can race with in-progress Stop
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- playwright, typescript, vscode
- Ambito
- tooling
Direzione di ricerca
Review PR #5851 first, then trace handleStopTunnelAsync() and the Start path in the Playwright Local Browser Server VS Code extension. Check the focused real VS Code host regression test for the rapid Start/Stop/Start sequence; done means the replacement tunnel waits for shutdown and the regression test passes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
The Playwright Local Browser Server VS Code extension can get into a lifecycle race when Stop and Start are invoked in quick succession. The user-visible symptom is that Start/Stop sometimes needs to be run twice before the tunnel reaches the expected state.
Suspected cause
handleStopTunnelAsync() can make the active tunnel unavailable before the existing tunnel has fully finished stopAsync(). A following Start command can then proceed while the previous shutdown is still in progress.
Proposed fix
PR #5851 tracks an in-progress stop promise, waits for it before starting a replacement tunnel, and only clears the active tunnel reference after stopAsync() settles.
The PR also adds a focused real VS Code host regression test for the rapid Start/Stop/Start sequence.
- Lingua principale
- TypeScript
- Stelle
- 6.5k
- Fork
- 708
- Merge medio
- 5g 19h
- PR unite (30g)
- 48
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 microsoft/rushstack
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di microsoft/rushstack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mksglu/context-mode#1200 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
AOSSIE-Org/DebateAI#582 · 2 commenti ·