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

Include structured retry exhaustion accounting and correlation IDs in terminal failures

Aperta
#47 0 commenti 0 reazioni 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
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start at the ACP provider failure boundary and the schema-v2 fatal record, then trace how subagent(...) flows through compose(background=true). Add deterministic coverage for attempts, delays, elapsed time, correlation, and sanitization; done means the parent receives typed terminal metadata without sensitive provider data.

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

Descrizione

Summary

Terminal provider failures do not expose a complete structured retry summary. Attempt count can appear in rendered text and fatal records already have session/event identity, but cumulative backoff and correlation data are not propagated together as typed exhaustion metadata to the failing tool boundary.

Split from #35 after the transient overload retry policy was fixed by #32.

Desired behavior

On retry exhaustion, provide a structured, sanitized summary containing:

  • total attempts;
  • cumulative backoff or sleep time;
  • total elapsed retry time;
  • final retry/exhaustion category; and
  • session ID and event ID, or an equivalent stable correlation reference to the fatal record.

The parent should not need to parse a rendered error string or search ~/.kit/errors to correlate the tool failure with its fatal record. This issue is about terminal accounting; live progress belongs in a separate issue.

Suggested coverage

  • Use deterministic time to verify attempts, cumulative delays, and elapsed time.
  • Verify the parent-visible structured failure correlates with the schema-v2 fatal record.
  • Cover subagent(...) through compose(background=true).
  • Assert no provider body, credentials, private prompts, or customer identifiers are exposed.

Environment

  • Originally observed with Kit 0.1.96 on Darwin 25.6.0 arm64.
  • Confirmed as a remaining gap on Kit 0.1.105 on Darwin 25.5.0 arm64.
  • Surface: ACP; provider route: openai-subscription.

Related work

  • #35
  • #32
Lingua principale
Rust
Stelle
43
Fork
5
Merge medio
5h 43m
PR unite (30g)
81

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 speakeasy-api/kit

Tutte le issue di speakeasy-api/kit

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.