Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

make precheck reads a thinner verdict than the suite, and has no witness of its own

Đang mở
#1,355 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
ci-cd, testing-qa, tooling

Hướng nghiên cứu

Start with tools/precheck.sh and compare its portability-row classification with the refusals in suite section [99zb]. Then inspect tools/section_plan.sh --changed and the relevant gate scripts; add automated stub-gate coverage for PASS, FAIL, announced skip, and no binary. Done means the documented authority and skip convention are consistent, and section_plan no longer reports precheck as not run locally.

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

Mô tả

area:gates found-by:critic kind:gate-defect

Found by two blind critics in round 2 of the #1326 fix. Everything below exists only as a mutant; no real-tree instance was found. It is filed rather than fixed in that branch.

tools/precheck.sh decides each row from the exit code, plus (since the #1326 branch) a column-0 name: SKIPPED line. Suite section [99zb] reads the same portability tool with more refusals, so the two can disagree on the same output:

planted tool output (rc 0) [99zb] precheck
portability-parse: SKIPPED + portability: OK: FAIL (both verdicts) SKIP
portability: OK: + oracle-major=5 FAIL (not the old shell) PASS
no verdict line at all FAIL PASS
indented portability-parse: SKIPPED FAIL (no verdict) PASS
SKIPPED on macOS (uname -s = Darwin) FAIL SKIP

Two more:

  • The skip matcher ^[a-z0-9_-]+: SKIPPED covers every row. A future gate that prints a SUB-check skip in that form, and otherwise passes, would lose its PASS and read SKIP. Measured by prepending gfx-guard-subcheck: SKIPPED to tools/gfx_guard_order_check.sh.
  • No automated witness. tools/section_plan.sh --changed prints not-run-locally: tools/precheck.sh, because no suite section or self-test runs precheck. A change to it was exercised only by hand, in review.

CI runs the suite, which carries the stricter refusals, so no CI verdict is lost today. Precheck is the contributor's local gate, though, and it can read green or skipped where the suite reads red.

Done when

  • Either precheck reuses [99zb]'s refusals for the portability row (both verdicts, identity, no verdict line, Darwin skip), or precheck is documented as advisory with the suite as the authority. The docs must say which one.
  • The skip convention is pinned: either the matcher is anchored to the gates that declare a skip, or a comment and check define the name: SKIPPED line as a whole-gate verdict only.
  • Something automated runs precheck's row classification against stub gates (PASS, FAIL, announced skip, no binary), so section_plan --changed no longer lists tools/precheck.sh as not-run-locally.
Ngôn ngữ chính
C
Star
3
Fork
7
Merge trung bình
4 giờ 5 phút
Pull request đã merge (30 ngày)
116

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

Mở trong Codespaces

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.

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 InauguralSystems/EigenScript

Tất cả issue của InauguralSystems/EigenScript

Issue tương tự

Thêm issue về C

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.