Run the ignored rstack dev_run end-to-end tests in CI

Aperta
#2,694 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
67/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, postgresql, rust
Ambito
ci-cd, testing

Direzione di ricerca

Start with the ignored tests in crates/registry-rstack/tests/dev_run.rs, then inspect the CI workflows and the existing journey in products/platform/scripts/test-rstack-dev.py for how product binaries and database services are set up. Add a CI step that runs the eight tests by exact name against TLS PostgreSQL, or update the traceability file to cite only tests CI runs. Done when one of those alternatives is reflected in CI and the traceability references.

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

Descrizione

Eight tests in crates/registry-rstack/tests/dev_run.rs are #[ignore]. They need a TLS PostgreSQL named by RSTACK_DEV_DATABASE_URL and RSTACK_DEV_DATABASE_CA, and the product binaries. No workflow runs them.

Three are cited for CASEWORK-SEC-36:

  • casework_run_issuer_mismatch_names_the_dev_yaml_pointer
  • normal_check_uses_owning_casework_tool_for_exact_run_producer_chain
  • casework_run_issuer_binding_needs_no_run_source_command

Unit tests in registry-rstack-dev still back the invariant in CI, including a negative test for each mismatch. The single-product journeys also run in CI through products/platform/scripts/test-rstack-dev.py.

All eight pass locally against PostgreSQL 18 with TLS on the branch of #2693.

Done when a CI step runs the ignored tests by exact name against a TLS PostgreSQL, or the traceability file cites only tests that CI runs.

Deferred from #2693.

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
9h 48m
PR unite (30g)
151

Preparare l'ambiente

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 registrystack/registry-stack

Tutte le issue di registrystack/registry-stack

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.