You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(planning): clear main's can't-fail scan findings before it gates #9194
bash plugins/testing/skills/audit/scripts/cant-fail-scan.sh --check exits 1 on main with 11 gating findings, so #9184's gate would go red today. 10 are false positives: tests in plugins/planning/shared/tests/test_people_proposals.py (about lines 126-240) call the self.refused_ops helper, which asserts. 1 is real: test_the_owner_can_reopen_an_ended_session in plugins/planning/shared/tests/test_session.py (about lines 3110-3114) makes three calls and asserts nothing. Owner decision Q672 (2026-10-22): clear these first, in this issue.
Fix
Add refused_ops to the Python adapter's assertion calls through the extend key in docs/conventions/testing.yaml (the scan reads that layer, cant-fail-scan.sh:145-150). If a bare method name does not match self.refused_ops(, find the form that does; never annotate the tests as exempt, since the helper does assert.
Give test_the_owner_can_reopen_an_ended_session a real assertion on the reopened session's state.
Verification
bash plugins/testing/skills/audit/scripts/cant-fail-scan.sh --check exits 0 on the PR head.
Proposed work class: work-class: scoped
Basis: automated intake triage; a maintainer confirms or changes it.
Understood: the can't-fail scan (cant-fail-scan.sh --check) currently exits 1 on main with 11 findings. Ten are false positives because the refused_ops helper isn't recognised as an assertion. One is a real test, test_the_owner_can_reopen_an_ended_session, that asserts nothing. The proposed fix is to register refused_ops through the extend key in docs/conventions/testing.yaml, and to add a real assertion to that one test. This unblocks #9184. The issue is clear and has verification steps, so nothing is missing. I found no likely duplicates among the open issues.
Activity
github-actions commentedon Oct 22, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; a maintainer confirms or changes it.
Understood: the can't-fail scan (
cant-fail-scan.sh --check) currently exits 1 on main with 11 findings. Ten are false positives because therefused_opshelper isn't recognised as an assertion. One is a real test,test_the_owner_can_reopen_an_ended_session, that asserts nothing. The proposed fix is to registerrefused_opsthrough theextendkey indocs/conventions/testing.yaml, and to add a real assertion to that one test. This unblocks #9184. The issue is clear and has verification steps, so nothing is missing. I found no likely duplicates among the open issues.Automated triage. A maintainer reviews it.