Cover three deploy-test gaps the #744 review found

Đang mở
#800 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
40/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python, shell
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Three separate gaps touch test_deployment_assets.py, test_routing_workflow_invariants.py and test_release_sentinel.py; start with the finalizer step in the deploy workflow and the sentinel reform constant. Each listed mutation (finalizer if: change, removed Modal credential, quoted or builtin MODAL_ENVIRONMENT override, 0.21 to 0.20 reform) should make a test fail when done. The referenced review file is outside the repo, so the issue text is the only spec.

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

Mô tả

The round-7 independent review of #744 approved the release journal and finalizer. It found three low-severity gaps in test coverage; the current wiring is correct in each case.

  1. Finalizer scheduling and credentials (test_deployment_assets.py). Each of these mutations survives all 239 workflow tests, and each could leave a publication journal pending:

    • adding if: failure() or if: !cancelled() to the finalizer step;
    • removing either Modal credential.

    Test the step's scheduling and its credential bindings.

  2. Quoted and builtin environment overrides (test_routing_workflow_invariants.py). export MODAL_"ENVIRONMENT"=main and read -r MODAL_ENVIRONMENT <<<main both change staging to main, and both survive. Normalize shell quoting and builtin flags, or reject these forms.

  3. Sentinel reform pin (test_release_sentinel.py). Changing the sentinel reform from 0.21 to 0.20 survives all 48 sentinel tests. Pin the reform and its date independently, or assert a non-zero expected impact.

Review: ~/reviews/w4-budget-ci-2026-10-11/simapi744-round7-sol.md.

Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
71

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 PolicyEngine/policyengine-sim-api

Tất cả issue của PolicyEngine/policyengine-sim-api

Issue tương tự

Thêm issue về Python

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.