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

Offen
#2,694 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
67/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, postgresql, rust
Bereich
ci-cd, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
2
Forks
0
Ø Merge
9 Std. 48 Min.
Gemergte PRs (30 T.)
151

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus registrystack/registry-stack

Alle Issues in registrystack/registry-stack

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.