CI never runs the Casework task_grant_invalidation suite
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
Direzione di ricerca
Parti da .github/workflows/ci.yml, in particolare il job PostgreSQL di Casework e il passaggio assignment/routing che imposta CASEWORK_ASSIGNMENT_TEST_DATABASE_URL. Leggi crates/registry-casework/tests/task_grant_invalidation.rs e le voci [[test]] con required-features = ["postgres-test"] in crates/registry-casework/Cargo.toml per vedere quale variabile d'ambiente del database si aspettano i suoi fixture. È concluso quando cargo test --test task_grant_invalidation viene invocato da un job CI al variare di Casework e un test fallito nella suite rompe la build; opzionalmente aggiungi uno script che confronti i test target di Cargo.toml con i nomi --test in ci.yml.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Merge medio
- 10h 53m
- PR unite (30g)
- 238
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di registrystack/registry-stack
-
agent-ready area:breg bug criticality:p3 triage:needs-implementation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
registrystack/registry-stack#1941 ·
I maintainer di solito rispondono entro 1 giorno
-
area:casework bug criticality:p3 rust
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
registrystack/registry-stack#1934 ·
I maintainer di solito rispondono entro 1 giorno
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
registrystack/registry-stack#1909 ·
I maintainer di solito rispondono entro 1 giorno
-
area:release bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
registrystack/registry-stack#1874 ·
I maintainer di solito rispondono entro 1 giorno
-
area:breg bug criticality:p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
registrystack/registry-stack#1851 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di registrystack/registry-stack
Issue simili
-
Write a support policyAperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
MattA-Official/vwmcp#20 ·
-
documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
undergroundrap/hatchling#15 ·
-
Progress difficulty filter lists Hard before MediumForse già presa @Pandamachi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
sysprog21/codetrial#281 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
CLI: --verdict silently ignores extra program/file argumentsForse già presa @oxura l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
HigherOrderCO/Bend#1503 ·
-
Add MySQL test coverage for numeric_precision/numeric_scale and seq_in_fk (follow-up to #939)Forse già presa @tosinxt l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TabularisDB/tabularis#977 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno