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

test(server): finish the CONFIG.md gate: schema rows and types, env read in its own gate, table and anchor integrity

Đang mở
#8,564 1 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
55/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ệ
javascript, markdown
Lĩnh vực
testing

Hướng nghiên cứu

Start in packages/server/tests/config-supported-keys-docs.test.js and reuse the CONFIG.md parser already there, then read PR #8563 to see how the features inventories and env locations are gated. Add three checks: each CONFIG_SCHEMA key has a row whose type matches, each documented env override is read inside its own flag's gate function, and table column counts and anchor links are valid. Done means all three run in Server Tests and each fails when the mutations in the issue are applied.

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

Mô tả

from-review testing

Follow-up from #7032 / PR #8563. PR #8563 gates the CONFIG.md features inventories, the three env-var locations, and the fail-closed numerals against the real features.<flag> === true gates in src, inside packages/server/tests/config-supported-keys-docs.test.js. Three checks from #7032's original list are still not in the repo:

  • Schema rows. Every CONFIG_SCHEMA key has a CONFIG.md row, and its documented type matches the schema's type.
  • Env override in its own gate. Each documented env override is read in that flag's own gate function, not merely somewhere in src/ (PR #8563 checks only that the literal process.env.<NAME> read exists somewhere).
  • Markdown integrity. Table column counts and anchor links (#7032 reported these as passing at the time).

Acceptance

  • Each check lives in the existing CONFIG.md gate file and reuses its parser. It runs in Server Tests.
  • Each check is proven red by a mutation:
    • a schema key with no row;
    • a row whose type disagrees with the schema;
    • an env override read only outside its gate;
    • a broken table row or anchor.
Ngôn ngữ chính
JavaScript
Star
7
Fork
1
Merge trung bình
2 giờ 8 phút
Pull request đã merge (30 ngày)
385

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 blamechris/chroxy

Tất cả issue của blamechris/chroxy

Issue tương tự

Thêm issue về JavaScript

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.