[RCA] Seal a human-reviewed public incident archive
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
- 30/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ệ
- github, java
- Lĩnh vực
- cli, observability
Hướng nghiên cứu
Read the prerequisite issue #14230 and inspect the candidate release tree, transformation report, selection ledger, and archive writer after their seams are available. Start by adding focused behavioral tests with independently prepared fixtures; document and run the actual RED command before implementation. The work is done when the real bydbctl rca seal operation binds approval to the candidate digest and policy version, validates inputs, writes the bounded archive atomically, and passes the listed refusal and cancellation scenarios.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Umbrella: #14222
Blocked by: #14230
Summary
Seal a human-reviewed public incident archive. Deliver one usable operation, not a framework-only foundation.
Boundary
Proposed activation caller: bydbctl rca seal --candidate … --approval … --output …. Command names are proposed, not existing APIs.
Reporter collection runs with read-only source access; offline steps use local files only.
No source storage/wire-format changes are requested. The incident format is separately versioned.
Requirements
R1. Bind explicit human approval to the candidate content digest and policy version. Any later candidate edit invalidates approval.
R2. Validate the supported public manifest, allowed file types, coverage/omission summary and absence of private workspace paths/keys before packaging. Reject unresolved required reviews.
R3. Write one bounded archive format with per-file hashes and a format version; finalize atomically. Canonicalize the reviewed file inventory for its approval digest, but byte-for-byte reproducibility of compressed archives is not required.
R4. Include a minimal local incident/coverage summary and archive only. Do not upload, post or change file sharing permissions.
Acceptance criteria
- Approve a fixed candidate, alter one byte, and assert sealing is refused. A clean candidate produces the independently expected file list and hashes without raw siblings.
- Reject symlinks, duplicate paths and unsupported schema versions. Cancel during archive writing and verify no completed release exists.
- Use hand-authored or independently captured fixtures with documented provenance; do not generate expected values using the code under test.
- Add focused behavioral tests before implementation and record the actual RED command/failure, then GREEN results.
- Keep existing CLI/API behavior compatible. Never overwrite unrelated user files; output conflicts must be refused.
Scope and readiness audit
- Boundary and behavior: the single operation above; independently observable output and refusal behavior.
- Production activation: the named CLI or skill entry point above, included in the same PR.
- Packages/callers: candidate release tree, transformation report, selection ledger and archive writer.
- Dependencies: #14230
- Classification: planned blocked leaf; revalidate prerequisite seams after merge.
- RED evidence: not executed during this planning task; no claim of passing or failing implementation tests.
- End-to-end proof: the real command/skill scenarios above, not source-text assertions.
- Formats/lifecycle/fixtures: private workspace or public archive only; artifact-specific fixture family above.
- Focused tests: CLI leaves should add
TestRCA…coverage underbydbctl/internal/cmdand/or the introduced collector package;
rungo test ./bydbctl/internal/cmd -run TestRCA -count=1plus the new package tests. Skill leaves must add a replayable evaluation harness
with an exact command documented in the PR. Final test names/paths are fixed when the prerequisite seam merges. - Resource/concurrency checks: cancellation, bounded reads/output and cleanup on failure; use repository panic-aware goroutine wrappers if concurrency is introduced.
- Decision: one proposed PR. If the named behavior requires an unimplemented server API or another lifecycle change, stop and split that prerequisite.
Required-only scope audit
Human approval, integrity and a transferable archive are required; reproducible compression bytes and GitHub integration are not.
Removed/deferred: GitHub templates/API integration, signatures, multiple archive formats and reproducible compressed bytes.
Out of scope
GitHub API integration, signing infrastructure, automatic approval, binary-profile sanitization.
- Ngôn ngữ chính
- Java
- Star
- 25k
- Fork
- 6.6k
- Merge trung bình
- 12 giờ 1 phút
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 apache/skywalking
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/skywalking#14239 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
AI Assistant database enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 24/100
apache/skywalking#14237 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
database enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
apache/skywalking#14236 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
AI Assistant database enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
apache/skywalking#14235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
database enhancement query tracing
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
apache/skywalking#14233 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của apache/skywalking
Issue tương tự
-
Re-executed query with IN condition on an index column returns deleted rows (stale IndexCursor)Có thể đã có người làm @dbusche đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
h2database/h2database#4580 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vips-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Stirling-Tools/JPDFium#300 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
hermes-queue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
chrisalunlloyd2-sudo/mindpalace#403 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Guidelines: document how to build a use case against a local, unpublished Flow/browserless-test changeCó thể đã có người làm @totally-not-ai đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
vaadin/use-cases#452 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/storage area/storage/sql
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Apicurio/apicurio-registry#11159 ·
Maintainer thường phản hồi trong vòng 1 ngày