aws-samples / aws-samples/sample-autonomous-cloud-coding-agents

feat(orchestration): stranded-task operator notify and manual resume

Aperta
#488 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement orchestration
Lingua principale
TypeScript
Stelle
143
Fork
46
Merge medio
3g 9h
PR unite (30g)
20

Descrizione

**Context:** ROADMAP.md → Stuck-task reconciliation (operator notify/resume)

---

## Component

API or orchestration

## Describe the feature

Extend shipped stranded-task reconciler: **operator notification** before forced failure and **manual resume** option for recoverable stuck states.

## Use case

Reconciler today fails stuck tasks automatically—correct for hygiene but harsh when root cause was transient platform outage. Operators want warn-then-act and resume.

## Proposed solution

1. Grace period: emit `stranded_warning` event + notify before `failTask`.
2. `POST /tasks/{id}/resume` for operator-forced continuation from last checkpoint (when safe).
3. Blueprint config: `stranded_grace_minutes`, `notify_channel`.
4. Audit all operator resume actions.
5. Tests for warning → fail and warning → resume paths.

## Other information

- Base reconciler shipped; this is **operator UX** on top.
- Design context: `docs/design/ORCHESTRATOR.md`.

- [ ] This might be a breaking change

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con la sezione “Stuck-task reconciliation” in ROADMAP.md e leggi docs/design/ORCHESTRATOR.md per il reconciler esistente delle attività bloccate. Traccia il percorso attuale di failTask e i punti di ingresso della task API prima di definire i flussi di avviso, ripresa, configurazione e audit. Il lavoro è completato quando i percorsi warning→fail e warning→resume hanno dei test e il comportamento proposto per l’operatore è coperto.

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

Valutazione

Stack tecnologico
typescript
Ambito
api, backend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.