One three-valued logic for CI conditions, or a recorded reason to keep them apart
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cmake, github, gitlab, python
- Lĩnh vực
- build-system, ci-cd, tooling
Hướng nghiên cứu
Read ci/gitlab_rules.py:59-73, ci/github_expressions.py:187-203, and the condition functions under facts/conditions used by cmake/generator_expressions.py. Compare their three-valued semantics and decide whether one lattice can serve all three or document why they should remain separate. Done means recording and justifying that decision; the issue allows no code change.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Three pairs of three-valued condition functions exist:
_either/_bothinci/gitlab_rules.py:59-73(settles run/required);_either/_bothinci/github_expressions.py:187-203(GitHub's truthy operands);either/bothinfacts/conditions, used bycmake/generator_expressions.py.
Their semantics differ, so this is design-level repetition, not copy-paste.
Expected
A design pass: either one lattice serves all three, or the docs record why they stay apart. "No change, with a reason" is an acceptable outcome.
Not planned for the release unless decided otherwise.
Split from #543. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Python
- Star
- 4
- Fork
- 1
- Merge trung bình
- 6 giờ 31 phút
- Pull request đã merge (30 ngày)
- 238
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 cpp-best-practices/project_validator
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cpp-best-practices/project_validator#609 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
cpp-best-practices/project_validator#449 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
cpp-best-practices/project_validator#622 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
cpp-best-practices/project_validator#621 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
cpp-best-practices/project_validator#619 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cpp-best-practices/project_validator
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
fossasia/eventyay-exhibition#465 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/webapp comp/desktop P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#163341 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
smart-village-solutions/smart-speech-flow#765 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bot-triaged module: bfloat16 module: cuda module: half module: numerical-stability triage review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày