CI never runs the Casework task_grant_invalidation suite
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
Línea de trabajo
Comienza con .github/workflows/ci.yml, específicamente el job de PostgreSQL de Casework y el paso de assignment/routing que establece CASEWORK_ASSIGNMENT_TEST_DATABASE_URL. Lee crates/registry-casework/tests/task_grant_invalidation.rs y las entradas [[test]] con required-features = ["postgres-test"] en crates/registry-casework/Cargo.toml para ver qué variable de entorno de base de datos esperan sus fixtures. Listo cuando un job de CI invoque cargo test --test task_grant_invalidation ante cambios en Casework y un test fallido de la suite rompa el build; opcionalmente, añade un script que compare los test targets de Cargo.toml con los nombres --test en ci.yml.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
crates/registry-casework/tests/task_grant_invalidation.rs is a PostgreSQL suite (required-features = ["postgres-test"]) that proves task grants are revoked when authority is lost:
directory_loss_is_permanent_but_atomic_replacement_preserves_grantsholder_and_proposal_loss_are_permanent_but_revision_churn_is_alloweditem_erasure_removes_selector_bearing_grant_records
No job in .github/workflows/ci.yml names --test task_grant_invalidation, so CI never builds or runs it. A regression in grant revocation would merge unnoticed. The suite passes locally (3 tests, run against a disposable database while verifying #1933).
Proposal
Run it in the Casework PostgreSQL job. It reads CASEWORK_ASSIGNMENT_TEST_DATABASE_URL, like the "assignment and routing" step, so it can join that step if its fixture isolates itself from the other two suites; otherwise give it its own database the way the review and task-approval steps do.
Also worth a one-off check: whether any other [[test]] target in a product crate with required-features = ["postgres-test"] is missing from CI. A small script comparing the targets declared in Cargo.toml with the --test names in ci.yml would catch the next one.
Done when
CI runs task_grant_invalidation on every change that touches Casework, and fails when a test in it fails.
- Lenguaje dominante
- Rust
- Estrellas
- 2
- Forks
- 0
- Merge medio
- 9 h 5 min
- PR fusionados (30 d)
- 248
Preparar el entorno
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 registrystack/registry-stack
-
agent-ready area:breg bug criticality:p3 triage:needs-implementation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
registrystack/registry-stack#1941 ·
Los mantenedores suelen responder en 1 día
-
area:casework bug criticality:p3 rust
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
registrystack/registry-stack#1934 ·
Los mantenedores suelen responder en 1 día
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
registrystack/registry-stack#1909 ·
Los mantenedores suelen responder en 1 día
-
area:release bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
registrystack/registry-stack#1874 ·
Los mantenedores suelen responder en 1 día
-
area:breg bug criticality:p3
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
registrystack/registry-stack#1851 ·
Los mantenedores suelen responder en 1 día
Todos los issues de registrystack/registry-stack
Issues similares
-
status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agentic-os-org/ANOLISA#6742 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Kc1t/alethe-agents#312 ·
Los mantenedores suelen responder en 3 días
-
api: storage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
googleapis/google-cloud-rust#7153 ·
Los mantenedores suelen responder en 1 día