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

Đang mở
#2,694 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
67/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, postgresql, rust
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
151

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.