R26 — ConversionViewModelProbeFailureTest:131 is a dead assertion #35

Closed
opened 2026-08-23 03:44:52 +00:00 by JMR-dev · 0 comments
JMR-dev commented 2026-08-23 03:44:52 +00:00 (Migrated from github.com)

Finding R26 from the overnight max-effort review (Fable lead, Opus sub-agents). Full report: scratchpad/overnight/REVIEW.md.

R26 — ConversionViewModelProbeFailureTest:131 is a dead assertion

severity: low
verdict: PLAUSIBLE (argued from types, not demonstrated)
where: app/src/test/java/org/libremediaconverter/convert/ConversionViewModelProbeFailureTest.kt:131
scenario: assertNull((ready as? Failed)) where ready was produced by an awaitState predicate requiring Ready — sibling sealed subtypes, the cast can never succeed, the assertion can never fire. If production landed on Failed the test would fail at awaitState's timeout instead. Dead line, not a coverage hole — both D14 mutations bite this class.
evidence: Types read; surrounding predicate does the real work.
fix: Delete the line, or assert on state.value after a bounded settle() as the OOM test at :102 does.
risk: None.


Cut: below — held for manual review: product decision, CI/workflow, hardware, or PLAUSIBLE verdict.

🤖 Generated with Claude Code

_Finding **R26** from the overnight max-effort review (Fable lead, Opus sub-agents). Full report: `scratchpad/overnight/REVIEW.md`._ ### R26 — ConversionViewModelProbeFailureTest:131 is a dead assertion severity: low verdict: PLAUSIBLE (argued from types, not demonstrated) where: app/src/test/java/org/libremediaconverter/convert/ConversionViewModelProbeFailureTest.kt:131 scenario: assertNull((ready as? Failed)) where ready was produced by an awaitState predicate requiring Ready — sibling sealed subtypes, the cast can never succeed, the assertion can never fire. If production landed on Failed the test would fail at awaitState's timeout instead. Dead line, not a coverage hole — both D14 mutations bite this class. evidence: Types read; surrounding predicate does the real work. fix: Delete the line, or assert on state.value after a bounded settle() as the OOM test at :102 does. risk: None. --- **Cut:** `below` — held for manual review: product decision, CI/workflow, hardware, or PLAUSIBLE verdict. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JMR-dev/LibreMediaConverter#35