test(application): drop artifact count check in verbose list test - #725
Conversation
The assertion matched any version with 6 outputs. Only old test-app versions had 6 outputs, and the CI account no longer sees them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Review: test(application): drop artifact count check in verbose list test
Reviewing this test change for the medical device SDK... Review Checklist
✅ CRITICAL CHECKS - ALL PASSED1. Test Markers ✅@pytest.mark.e2e # ✅ Required category marker
@pytest.mark.scheduled # ✅ Runs in scheduled pipeline
@pytest.mark.timeout(timeout=60) # ✅ Appropriate timeout
def test_cli_application_list_verbose(runner: CliRunner, record_property) -> None:Verification:
2. Code Quality ✅✅ ruff check . - All checks passed!
✅ ruff format --check . - 284 files already formatted
✅ pyright - 0 errors, 0 warnings, 0 informations
✅ mypy - Success: no issues found in 84 source files3. Conventional Commits ✅
4. Coverage Impact ✅
📋 REVIEW FINDINGSChange AnalysisWhat was removed: - assert "Artifacts: 1 input(s), 6 output(s)" in normalize_output(result.output)Why this is appropriate:
What Still Gets Testedassert result.exit_code == 0
assert HETA_APPLICATION_ID in normalize_output(result.output)
assert HETA_APPLICATION_VERSION in normalize_output(result.output)
assert TEST_APPLICATION_ID in normalize_output(result.output)
assert TEST_APPLICATION_VERSION in normalize_output(result.output)This validates:
🎯 ARCHITECTURAL COMPLIANCE✅ No concerns - This is a test-only change with no impact on:
📚 DOCUMENTATION✅ No updates needed - Test change is self-documenting. The PR description clearly explains the rationale. 🔒 SECURITY & MEDICAL DEVICE CONSIDERATIONS✅ No concerns:
💡 SUGGESTIONS (Non-blocking)None - This is a clean, focused fix that:
✅ VERDICTAll blocking checks passed:
Verdict: ✅ claude:review:passed Excellent work! This is exactly the right fix - removing a brittle assertion on dynamic platform data while preserving the CLI behavior validation. The PR description clearly explains the issue and rationale. |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (64.42%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage. |
|



Why?
The hourly production test
test_cli_application_list_verbosefails since the HETA 2.0.0 release (run). The test checked for the textArtifacts: 1 input(s), 6 output(s)anywhere in the output. Only oldtest-appversions had 6 outputs, and the CI account no longer sees those versions.How?
This PR removes that one assertion. The test still checks the exit code, the application IDs and the version numbers. We do not replace it with a version-specific count check, because the exact count is platform data and not CLI behavior.
🤖 Generated with Claude Code