(bug) An approved one-second command ends its turn after 60 seconds, waiting for the trace spool export
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
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend
Direzione di ricerca
Start by reproducing the approval-resume flow described in the issue and inspect the runner log for pi_trace_spool_export and its pickup_ms value. Compare the approved and denied resumes, then check whether the delay still occurs on a later build, as the report notes it was not remeasured after the cold-sandbox fix. Done means the resumed turn ends within a few seconds after the command finishes, without the long export wait.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A turn that resumed after an approval waited 59.9 seconds at its end for the trace spool export. The command itself took about one second. The user saw "Worked for 1m 1s" for a one-second command.
Reproduce
- Open an agent on GKE oss (local sandbox, Pi, Claude Haiku 4.5) in /m with the permission policy Ask.
- Ask for a short command, for example "Use the bash tool to run exactly: echo X and reply with only its stdout."
- Approve the card.
- Time the end of the turn. Read the runner log line for the trace spool export.
Expected
The turn ends within a few seconds after the command finishes, as on a turn without an approval.
What we saw
- The runner log shows
pi_trace_spool_export ... pickup_ms=59901before the turn ended. The turn row read "Worked for 1m 1s". - The Deny resume on the same session waited 9.5 seconds for the same step.
- Seen on the v0.122.4 release candidate build c8ff96f0, before the fix for the cold sandbox after an approval (#7438). We did not measure it again after that fix. If it does not repeat on a later build, close this issue.
Possible link (a guess, not checked): the api starts the continuation and the caller closes its stream at once, so the runner may wait for a pickup that nobody makes until a 60 second limit.
🤖 The AI agent says: filed from the v0.122.4 release QA.
- Lingua principale
- TypeScript
- Stelle
- 4.8k
- Fork
- 690
- Merge medio
- 18h 33m
- PR unite (30g)
- 424
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la 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 Agenta-AI/agenta
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Agenta-AI/agenta#7468 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) The Stop button disappears for a moment before an approval card showsForse di nuovo libera @rishu685 l’ha presa 7 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Agenta-AI/agenta#7446 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
Agenta-AI/agenta#7441 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Agenta-AI/agenta#7426 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
No CI job runs the mobile app's unit testsForse già presa @Mahaboob-Ashraf l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agenta-AI/agenta#7326 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agenta-AI/agenta
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dsh-market/dsh-market#877 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
stellar/stellar-dev-skill#151 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Trial & Error: guided Blind offer squeezes on phones and sits under the touch toolbar on iPadApertaarea:arcade game ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
fderuiter/deruiter.dev#2281 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
scope: data grid type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni