Assert the verb.retract warn payloads and the tolerance branch's silence in landed tests
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 67/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- testing
Hướng nghiên cứu
Bắt đầu với các nhánh retract trong src/core/registry/verbs.js:424-478 và các bài kiểm thử hiện có trong test/core/verb-registry.test.js. Thêm các assertion ghi nhận logger cho ba nhánh cảnh báo và xác nhận không có thông báo trên đường đi dung sai của registry không có dấu ngoặc vuông; chạy các bài kiểm thử verb-registry để xác minh các payload mong đợi và không có cảnh báo trên đường đi đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Source: #1995 at 13bea152c66247d6d683c808e0999ac4fd529205
Location: src/core/registry/verbs.js:424-478, test/core/verb-registry.test.js, test/core/command-context-plugin-ownership.test.js
Severity: low
Evidence
No landed test captures logger output for verb.retract.unsupported, verb.retract.not_a_projection, or verb.retract.registrar_mismatch: grep -rn "verb.retract" test/ returns nothing at head 13bea152. Round 2 proved the refusal warn's payload at the emitter (hyp_plugin, hyp_owner_plugin, verb_name) only via ad-hoc probes that were discarded, not landed.
Why deferral is safe
Safe outside this PR. The branch the round-1 deferral named (a registry with ownerOf but no registeringAs bracket) emits no warn by design and its retraction behavior is pinned by the landed test at test/core/verb-registry.test.js:162; the two sibling tolerance warns predate this PR and were likewise unasserted; the refusal's user-visible behavior (neighbour's and core's command survive, dispatch still runs the owner's body) is pinned by two landed dispatch-level regression tests. What remains is observability test hardening with no observed incorrect behavior, so it is a preference, not a defect.
Acceptance condition
Add tests that capture the verb-registry logger and assert (a) a forged release emits verb.retract.registrar_mismatch carrying both registrars (hyp_plugin, hyp_owner_plugin) and verb_name, (b) the registry-without-unregister and not-a-projection branches emit their warns, and (c) the bracketless-registry tolerance path retracts with no verb.retract warn at all.
Review preference; backlog only. A human may explicitly delegate it with neutral:fix.
- Ngôn ngữ chính
- JavaScript
- Star
- 11
- Fork
- 0
- Merge trung bình
- 2 giờ 55 phút
- Pull request đã merge (30 ngày)
- 294
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 hyparam/hypaware
-
neutral:fix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
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 84/100
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 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
report_commands.js runtime output still says 'server' in four places; one names the destinationĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của hyparam/hypaware
Issue tương tự
-
bug confirmed js v6
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
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 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
BUG
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
linuxmint/cinnamon-spices-applets#9223 ·
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 82/100
nopSolutions/nopCommerce#8440 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày