🤖 perf: sub-agent spawn follow-ups after #7851
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend
Direzione di ricerca
Start with the n loop in src/node/services/tools/task.ts and createWorkspaceTurn in workspaceTurnManager.ts, then trace the locking and stop-state follow-ups described here. Re-run the live-server profile after the server includes #7840, #7845, and #7851. Done means addressing a defined follow-up and verifying its behavior; the issue lists several distinct areas without selecting one.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
#7851 lets a child's slow first-send preparation run after TaskService.create releases its mutex and tree lock. Spawns in different trees no longer wait host-wide: in a live rig with a 2 s first send, the last of 4 parents got its task result at 2,464 ms instead of 8,868 ms (median of 6 rounds, p = 0.0039). Reviews and verifiers accepted these follow-ups.
Follow-ups
- One parent's
task(n: 4)and parallel non-explore task calls stay serial. Thenloop insrc/node/services/tools/task.ts(around lines 694-699) awaits eachcreate.withSequentialExecutionserializes parallel task calls unless they areexplorewith fork isolation. The live rig shows no change for these cases (about 8.9 s for 4 children on both builds). This is now the largest remaining spawn limiter for one parent. createWorkspaceTurn(kind: "workspace") still holds the mutex through its own send (workspaceTurnManager.ts, around line 1360).- Locked steps still run one at a time. The fork plus config write takes about 63-87 ms per spawn under the mutex (166-177 ms with fork isolation). Pre-admission send hooks and history I/O also hold both locks until the session admits the brief, with no total deadline. Base had the same lack of a deadline.
- Ancestor Stop after the brief started preparing.
createcan reportrunningfor a row that the Stop already markedinterrupted. That Stop stops the parent's stream first, so impact is low. - A child stopped during its first send stays
running, and the parent is toldrunning. This predates #7851. - Re-run the live-server profile once the live server runs a build with #7840, #7845 and #7851.
Evidence (local): verifier reports D1-D4 for #7851.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $78.84
- Lingua principale
- TypeScript
- Stelle
- 2.1k
- Fork
- 139
- Merge medio
- 3h 35m
- PR unite (30g)
- 950
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 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
🤖 fix: xum api exits 0 when a procedure returns success: falseForse già presa @twotnguyen l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/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à 2/5 1-3 ore Idoneità per principianti 82/100
prime-radiant-inc/evener#5901 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Bug: Batcher binds the texture that opens a new batch twice (one draw call per element with maxBatchableTextures = 1)Forse già presa @darzarzycki l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 2 giorni
-
area:study-data p2-high ready-for-agent type:chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
fderuiter/deruiter.dev#3706 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
nicobailon/pi-subagents#3242 ·
I maintainer di solito rispondono entro 1 giorno