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

Abierto
#1,007 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
node.js, typescript
Área
backend, cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Merge medio
1 h 26 min
PR fusionados (30 d)
73

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de velella-sh/offing

Todos los issues de velella-sh/offing

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.