Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

(bug) An approved one-second command ends its turn after 60 seconds, waiting for the trace spool export

Aperta
#7,444 1 commento 1 reazione 0 assegnatari Vedi su GitHub

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

bug

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

  1. Open an agent on GKE oss (local sandbox, Pi, Claude Haiku 4.5) in /m with the permission policy Ask.
  2. Ask for a short command, for example "Use the bash tool to run exactly: echo X and reply with only its stdout."
  3. Approve the card.
  4. 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=59901 before 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agenta-AI/agenta

Tutte le issue di Agenta-AI/agenta

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.