docs(breg): configure/breg.mdx lists stages for a request_lifecycle when, which bregctl refuses
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ó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 92/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu tại docs/site/src/content/docs/configure/breg.mdx, ở bảng các thành viên hooks và hàng when của bảng. Kiểm tra registry-project.v1alpha1.schema.json và test change_request.rs được trích dẫn để xác nhận các thành viên request_lifecycle được hỗ trợ. Xóa stages khỏi tài liệu, sau đó xác minh ví dụ bằng bregctl check và đảm bảo hàng này chỉ liệt kê transitions và toStates.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
docs/site/src/content/docs/configure/breg.mdx (hooks member table, when row) says a kind: request_lifecycle test takes transitions, toStates, and stages. On v0.34.0 and current main, stages is not an accepted member:
registry-project.v1alpha1.schema.jsonhas onlykind,toStatesandtransitionsfor therequest_lifecycleform ofwhen.crates/registry-breg/src/change_request.rshas the testobsolete_stages_and_application_modes_are_not_authoring_inputs.bregctl checkrefuses it:
# products/breg nursing-register example, with this added to the request_lifecycle hook:
# "when": {"kind": "request_lifecycle", "stages": ["review"]}
$ bregctl check <copy> --format json | jq -c '.diagnostics[] | {code, message}'
{"code":"source.yaml.invalid","message":"the YAML source is structurally invalid: entities[1].hooks[0]: unknown field `stages`, expected `transitions` or `toStates` at line 382 column 9"}
The same hook with "toStates": ["submitted"] passes. Suggested fix: drop , and stages from that row (with transitions and toStates).
Found by bregctl 0.34.0 while auditing breg-skills against the vendored docs.
- Ngôn ngữ chính
- Rust
- Star
- 2
- Fork
- 0
- Merge trung bình
- 5 giờ 13 phút
- Pull request đã merge (30 ngày)
- 176
Chuẩn bị môi trường
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 registrystack/registry-stack
-
area:casework bug criticality:p3 triage:needs-implementation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
registrystack/registry-stack#1623 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:evidence criticality:p3 triage:needs-implementation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
registrystack/registry-stack#1620 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs area:render bug criticality:p3 triage:needs-implementation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
registrystack/registry-stack#1618 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Registry Scheduling: startup logging goes to stdout, colliding with a stdout audit destinationĐang mởagent-ready area:platform bug criticality:p3 rust triage:needs-implementation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
registrystack/registry-stack#1583 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs area:release criticality:p2 documentation triage:needs-implementation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
registrystack/registry-stack#1474 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của registrystack/registry-stack
Issue tương tự
-
`categorize_command` has no `uv` arm, so every `rtk uv …` row counts as `other` in the ecosystem mixĐang mởarea:api bug good first issue priority:low
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
rtk-ai/rtk#4316 · 1 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 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/cli kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
good first issue open-endedness: low type: new feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100