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

(bug) Worked for counts the time a turn waited for an approval

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #7485 di @ANONYMOUSZED-beep — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start by tracing how the run header calculates and displays elapsed work time, then follow the turn-resume flow after an approval. Reproduce the issue using the steps in the report and inspect the related tests; done means time spent waiting for approval is excluded from the finished run's displayed work time.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

After a turn resumes from an approval, the run header can show "Worked for 85m 9s" for a command that took seconds. The time counts from the start of the parked turn, not from when the user answered the card.

Reproduce

  1. Open an agent in /m with the permission policy Ask.
  2. Ask for a command that needs approval. Leave the card unanswered for a long time (about 85 minutes in our QA run).
  3. Approve the card. Wait for the turn to finish.
  4. Read the header of the finished run.

Expected

The header shows the time the agent worked, or the time since the approval. The time spent waiting for the user does not count as work.

What we saw (v0.122.3 behavior, seen again during the v0.122.4 QA)

"Worked for 85m 9s" on a turn whose resume took a few seconds. The time was counted from the start of the turn that parked at the approval.

This is cosmetic. The answer and the tool results are correct.

🤖 The AI agent says: filed from the v0.122.4 release QA.

Lingua principale
TypeScript
Stelle
4.8k
Fork
690
Merge medio
20h 5m
PR unite (30g)
420

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.