🤖 tests: the extension.test.ts burst test times out on a busy host, and bun then does not exit
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
- 56/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- bun, typescript
- Ambito
- testing
Direzione di ricerca
Start with the burst test and its until() helper in vscode/src/extension.test.ts; run the reported Bun command under load to reproduce the timeout and observe whether the process exits. Trace the test’s wait and cleanup path to identify why a timeout leaves the process alive. Done when the burst test tolerates busy hosts and a timeout does not hang the test process.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
The test a burst of metadata events re-posts the list only when the projection changes in vscode/src/extension.test.ts sometimes hits its 5 s test timeout when the host is busy. After that failure, the bun process does not exit. A make test-unit run can then hang. This reproduces on main.
Runs
Command: bun test ./vscode/src/extension.test.ts ./scripts/perf/pageTimingCore.test.ts, capped at 120 s, load average about 8.
extension.test.ts from |
runs | burst test timed out, then the process did not exit |
|---|---|---|
| main 2c4a5c444a | 2 | 1 |
#7305 (only the onMetadata loop changes) |
3 | 1 |
Each time the error lines were:
error: Test "a burst of metadata events re-posts the list only when the projection changes" timed out after 5000ms
(fail) chat view live workspace list and dock activity (#5109) > a burst of metadata events re-posts the list only when the projection changes [5000.99ms]
On #7305, the next test then failed with timed out waiting for the end of the burst from until() at vscode/src/extension.test.ts:96. The test's own 5 s until() timer lands in the next test.
What I know
- The test builds 4,500 synthetic workspaces (
vscode/src/extension.test.ts:513) and waits for 4 list posts withuntil(), which also has a 5 s timeout (:91-106,:538). The work fits in 5 s on an idle host and not always on a busy one. - I did not find what keeps the process alive after the timeout. A guess, not verified: the timed-out test skips its cleanup, so its subscription stays open.
Found while working on #7297 (#7305).
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $182.60
- Lingua principale
- TypeScript
- Stelle
- 2.1k
- Fork
- 140
- Merge medio
- 5h 8m
- PR unite (30g)
- 952
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 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 74/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
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
microsoft/playwright#43640 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
grasshopper-protocol/grsshppr#172 ·
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Tencent/teamai-cli#1397 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DouyinFE/semi-design#3641 ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno