campaigns: stop the campaign automatically when the failure rate of the last batch passes the configured limit, and print why

Aperta
#1,007 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
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript
Ambito
backend, cli

Direzione di ricerca

Review the contribution guide, then read src/campaign/, src/commands/campaign.ts, and src/mcp/tools/campaign-status.ts; use tracker #375 to find the full file scope and public release check. First resolve prerequisites #1000 and #1002, then trace how campaign batches track failures and transitions. Done when a boundary test confirms the next batch stops above the configured failure limit, the summary reports both values, and focused checks capture the result for acc-campaigns.

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

Descrizione

area: core lane: strong-agent priority: P0 roadmap type: task

Work

Stop the campaign automatically when the failure rate of the last batch passes the configured limit, and print why.

Starting point

Review Offing’s contribution guide. Start from src/campaign/, src/commands/campaign.ts, src/mcp/tools/campaign-status.ts. The tracker in #375 links the full file scope and the public release check.

Prerequisites and dependencies

  • #1000 — run in batches with a size, a concurrency limit and a minimum gap between batches, and respect content-creation rate limits.
  • #1002 — store the state after every transition so offing campaign run resumes after a crash without repeating work.

Acceptance criteria

  • Test the boundary of the allowed failed fraction. When exceeded, the next batch does not start and the summary gives the measured and configured values.
  • Run the focused checks for the affected path and capture the observable result for acc-campaigns.

Roadmap task · Epic #375

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
1h 26m
PR unite (30g)
73

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 velella-sh/offing

Tutte le issue di velella-sh/offing

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.