Repository navigation
Closed
Labels
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablestype/featureType feature: a new function
Milestone
Description
Context & Rationale
Eight tests assert pytest.raises(Exception) and nine pass an unescaped regex to match=. tests/test_ai_cmd.py:264 passes if any exception is raised, including a TypeError introduced by an unrelated refactor — the test certifies without checking, and would keep passing through the very regression it exists to catch. tests/test_argo_crd.py:213 matches "missing 'metadata.name'" where . is a wildcard, so the assertion is weaker than it reads.
Scope & Deliverables
- Context & Rationale*: Eight tests assert
pytest.raises(Exception)and nine pass an unescaped regex tomatch=.tests/test_ai_cmd.py:264passes if any exception is raised, including aTypeErrorintroduced by an unrelated refactor — the test certifies without checking, and would keep passing through the very regression it exists to catch.tests/test_argo_crd.py:213matches"missing 'metadata.name'"where.is a wildcard, so the assertion is weaker than it reads. - Deliverable*: Narrow every blind
pytest.raisesto the specific exception type the code contracts to raise, and makematch=patterns raw orre.escaped. Enforce withB017andRUF043so the class cannot return. - Constraint*: A test narrowed to the wrong exception type is worse than a blind one, because it fails for a reason unrelated to the behaviour under test. Each narrowing needs the contract checked, not guessed from the current implementation.
Strategic Alignment
- Milestone:
v0.2.23(Foundational Architectural Guardrails & Project Hygiene) - Roadmap Reference:
docs/ROADMAP.md
Metadata
Metadata
Assignees
Labels
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablestype/featureType feature: a new function
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Sep 23, 2026
Closed by #450, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.