No e2e coverage for the strong approval ceremony on a destructive job
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, go
- Área
- cli, testing-qa
Línea de trabajo
Empieza con e2e/testdata/postgres/ob.yml.tmpl:37-42 y el flujo existente en e2e/server_test.go:397-400. Lee e2e/apps/one-app-one-host.sh:54-63 y e2e/server_harness_test.go:385-400 para entender los helpers actuales de strong-approval. Añade la cobertura del fixture destructivo y ejecuta la suite de e2e; estará terminado cuando se rechace el token incorrecto, se acepte el nombre del job y el resumen mencione el job.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The problem
The strong approval ceremony — the typed confirmation guarding a destructive
or migration job — has no end-to-end coverage.
The only job run in the e2e suite is chore, which declares
data_effect: none (e2e/testdata/postgres/ob.yml.tmpl:37-42), driven with
y\n (e2e/server_test.go:397-400). That is the one-time class, not the
strong one. The unit test added in #171 covers ob approve --plan, and nothing
covers ob job run --plan or the inline ob job run <id> prompt against a
real binary.
Two e2e helpers still encode the pre-#171 rule and describe it as general:
e2e/apps/one-app-one-host.sh:54-63—approval_answersupplies the release
ID when the class is strong.e2e/server_harness_test.go:385-400—releaseIDReextracts a release ID to
feed the prompt.
Both are reached only from deploy helpers today, so nothing is broken. But a
destructive job added to the fixture later would fail confusingly against a
helper that looks like it handles the strong class in general.
Proposed change
Add a destructive manual job to an e2e fixture and drive the strong ceremony
against the real binary: the wrong token refused, the job name accepted, and
the summary naming the job. Then make the two helpers say which class they
handle, or teach them the job case.
Scope and safety
Test-only. No product change.
Found while auditing #171.
- Lenguaje dominante
- Go
- Estrellas
- 3
- Forks
- 0
- Merge medio
- 3 h 10 min
- PR fusionados (30 d)
- 39
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de labstack/onebox
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
Todos los issues de labstack/onebox
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug needs-acceptance wg/developer-experience-ecosystem
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vllm-project/semantic-router#4480 ·
Los mantenedores suelen responder en 1 día
-
area/docs kind/documentation priority/backlog triage/accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
lexfrei/cloudflare-tunnel-gateway-controller#943 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
keyxmakerx/Chronicle#967 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
DaoCloud/DaoCloud-docs#7446 ·
Los mantenedores suelen responder en 1 día