docs checks: close the remaining fail-open cases
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
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, markdown
- Lĩnh vực
- backend, documentation, testing
Hướng nghiên cứu
Read the prior work in #43 and inspect internal/docgen/reasons.go and internal/docgen/routes.go, then review the docs checks for handshake headers, prose names, Mermaid fences, and picture source verification. Start by identifying the existing checks and tests for each case; done means the listed stale documentation cases are detected or the image check verifies current source.html without relying on host font rendering.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
#43 made the docs checks fail closed on the cases its reviews found. These cases still pass on stale docs, and are left for a follow-up:
- Reasons: a function that returns an untyped string literal as a
GiveUpReasonorCallbackReason, or assigns one to a struct field, is not seen byinternal/docgen/reasons.go. Catching it needs go/types. - Routes: a router method outside the set docgen reads (for example
MethodFunc) is not seen byinternal/docgen/routes.go. - Handshake headers: a handshake answer whose headers exceed 16 KiB maps to
connection_refused; docs/webhooks.md does not say so. - Names in prose: plain-text paths (
PUT /mcp) and names in prose (ci.check_requested,wait_for_github_event) are not checked against the code. - Mermaid: the render test reads only exact ```mermaid fences and skips nested
docs/folders. - Pictures: the check proves the PNGs match
SOURCE_SHA256, not that they were rendered from the currentsource.html(a host's fonts change the bytes, so CI cannot re-render and compare).
Refs #43
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Ngôn ngữ chính
- Go
- Star
- 1
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 coder/faucet
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
slavakurilyak/awesome-ai-agents#1026 ·
-
GetBatchResponseById panics for items without a body (204/302) and for unknown idsCó thể đã có người làm @0z5a đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
JuliusBrussee/caveman#1567 ·
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 78/100
-
bug postgresql
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày