feat(core): mixed-provider policies — choose the provider per evaluator
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Bắt đầu bằng cách tìm kiếm meta.required_provider, quá trình phân tích evaluator và việc xác thực provider/kiểu input để lần theo cách một policy hiện chọn và kiểm tra provider của nó. Thêm coverage tập trung cho một policy kết hợp các evaluator terraform_plan và json trên một input, bao gồm cả trường hợp xác thực không khớp. Hoàn tất có nghĩa là việc đánh giá thành công với từng kết quả được gán cho provider tương ứng và các trường hợp không khớp làm cho việc xác thực thất bại thay vì bị bỏ qua.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Today meta.required_provider fixes one provider for every evaluator in a policy. Users need a
single policy whose evaluators use different providers over the same input — e.g. one evaluator
reading the plan through terraform_plan's typed operations, and another reaching a section the
typed provider doesn't expose through the json provider — with eval_expression combining their
results as it already does. Tracked on the public feedback board ("policy evaluations across
different tirith providers"); this is the substance of #223.
Proposal. Keep meta.required_provider as the policy-level default; allow each evaluator an
optional provider field overriding it. Validation checks that every provider used can read the
supplied input kind; the result model and eval_expression are unchanged. Distinct from "named
multi-input" (below), which adds several documents — this is several providers over one document,
and the multi-input work builds on it.
Acceptance. A policy mixing a terraform_plan evaluator and a json evaluator over one plan
file evaluates end to end, each result attributed to its provider; a provider/input-kind mismatch
is a validation error, not a runtime skip.
- Ngôn ngữ chính
- Python
- Star
- 176
- Fork
- 54
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của StackGuardian/tirith
-
chore: remove stale TODOs and commented-out codeCó thể đã có người làm @krishna2707 đã nhận 3 ngày trước. Đang mởchore good first issue hacktoberfest
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
StackGuardian/tirith#408 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
test(evaluators): edge cases for `Equals` and `NotEquals`Có thể đã có người làm @Ankit-cs đã nhận 2 ngày trước. Đang mởgood first issue hacktoberfest tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
StackGuardian/tirith#406 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
test(kubernetes): cover the provider's main pathsCó thể đã có người làm @afsuyadi đã nhận 1 ngày trước. Đang mởgood first issue hacktoberfest tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
StackGuardian/tirith#405 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(kubernetes): missing `kubernetes_kind` or `attribute_path` errors are droppedCó thể đã có người làm @Ankit-cs đã nhận 1 ngày trước. Đang mởbug good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
StackGuardian/tirith#404 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
test: make pytest collect the infracost and sg_workflow testsCó thể đã có người làm @montionugera đã nhận hôm nay. Đang mởgood first issue hacktoberfest tests
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
StackGuardian/tirith#403 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của StackGuardian/tirith
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
sierra-research/tau2-bench#635 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python onesCó thể đã có người làm @fmuia đã nhận hôm nay. Đang mởdocumentation skill
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
lnccbrown/ssm-simulators#406 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
btclib-org/btclib-ecc#309 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jbacalso24/mimry#459 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] POST /revoke with a FastMCP access token is a silent no-op (ownership gate never matches)Đang mởauth bug high-priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày