R1 — D3's decision core is exhaustively tested; the edge that feeds it is not tested at all #10
Closed
opened 2026-08-23 03:44:41 +00:00 by JMR-dev
·
1 comment
No Branch/Tag Specified
main
fix/102-picker-back-press-overshoot
fix/268-saf-picker-determinism
feat/ogg-vorbis-libvorbis
feat/expedited-conversion-work
fix/gate-cache-in-worktrees
chore/gate-runs-shellcheck
test/publish-delete-arm-real-provider
docs/e8-instrumented-coverage
docs/api37-carrier-count-drift
docs/e7-second-constraint
test/publish-to-a-real-saf-destination
fix/api37-report-match-line
fix/api37-task-snapshot-crash
test/join-failure-message-on-device
docs/e2e-read-findings-e7
test/cancelling-a-running-export
test/reattach-to-a-running-job
test/content-uri-reaches-ffmpeg
fix/launcher-wiring-waits-for-the-pick
fix/cancel-tests-need-a-slower-encode
test/cancelling-a-running-join
test/cancelling-a-running-session
test/notification-cancel-action
test/ffmpeg-progress-is-observed
test/fallback-asserts-the-path
test/flac-and-opus-assert-their-format
docs/e2e-read-findings
docs/wave4-coverage-numbers
fix/injectable-startup-sweep-scope
test/session-outcome-seam
test/launcher-callback-identity
test/theme-follows-system-dark
test/audio-drop-arm
fix/rotation-waits-for-recreation
fix/convert-guards-on-ready
test/retry-save-mime
test/hardware-progress-reaches-workmanager
test/ffprobe-mapping-seam
test/device-codec-enumeration-seam
test/unknown-container-row
test/null-message-fallbacks
test/cancel-reaches-workmanager
docs/coverage-wave3-recovery
test/concat-engine-seam
docs/coverage-wave3
test/mediaprobe-merge-seam
test/adaptive-shell-wiring
test/aac-audio-args
test/notification-progress-text
test/media3-muxer-guard
test/hardware-fallback-and-cancellation
test/unprobeable-join-clip
test/one-branch-outcomes
test/foreground-type-regimes
fix/bound-wedge-diagnostics
docs/coverage-wave2
test/screen-wiring
test/viewmodel-setters
test/join-state-mapping
test/conversion-state-mapping
test/dedupe-user-messages
fix/restore-stack-merges
test/refused-jobs
test/concatworker-failure-arms
test/container-capabilities-audio
test/readspec-enum-fallbacks
test/outputpublisher-seams
test/mediaprobe-track-seam
test/outputpublisher-partial-branches
test/fake-provider-scaffolding
docs/coverage-read-findings
chore/gitignore-kotlin
test/bound-the-hangs
docs/coverage-remeasure
ci/baseline-counter-precision
fix/invalid-suggestion-chip
ci/wedged-leg-report
fix/reattachment-overwrites-pick
test/theme-live-branches
fix/failed-save-retry
fix/empty-composition-crash
ci/advisory-failure-report
docs/seven-run-counts
test/release-permission-guard
ci/build-workflow-permissions
docs/api37-point-release
docs/benchmark-populate-path
fix/dead-assertion-probe-test
ci/actionlint
test/device-codecs-encode-consequence
fix/sdkmanager-pipefail
docs/readme-restart-claim
fix/saf-picker-root-discovery
fix/probe-dispatcher-seam
test/media3engine-mime-tables
test/mediaprobe-pure-helpers
fix/codec-vocabulary-drift
docs/robolectric-rationale-correction
docs/api37-advisory-counts
test/r38-8-saf-e2e
test/r38-7-join-states
test/r38-6-conversion-states
test/r38-5-state-seam
fix/jacoco-robolectric-coverage
docs/instrumented-tests-correction
test/r38-2-filecard
test/r38-4-advanced-picker
test/r38-3-pickers
tools/file-issue-script
tools/api-37-emulator
fix/review-app-gaps
docs/review-corrections
No results found.
Labels
Clear labels
above-cut
accessibility
backlog
bug
confirmed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
plausible
question
sev:high
sev:low
sev:medium
wontfix
Worked autonomously overnight: local, JVM-verifiable, no product decision
Barrier affecting people with disabilities
Held for manual review: product/UX call, CI/workflow, hardware, or unverifiable here
Something isn't working
Reviewer demonstrated the defect
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Reviewer could not fully demonstrate it; treat as unproven
Further information is requested
High severity
Low severity
Medium severity
This will not be worked on
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: JMR-dev/LibreMediaConverter#10
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Finding R1 from the overnight max-effort review (Fable lead, Opus sub-agents). Full report:
scratchpad/overnight/REVIEW.md.R1 — D3's decision core is exhaustively tested; the edge that feeds it is not tested at all
severity: high
verdict: CONFIRMED (5 demonstrated full-suite-green mutations)
where: app/src/main/java/org/libremediaconverter/work/JobSnapshots.kt:31,40; app/src/main/java/org/libremediaconverter/convert/ConversionViewModel.kt:199,206
scenario: Reattachment.choose has 20 tests and every mutation aimed at it bites. But jobSnapshots() — which computes every input choose reasons over — and reattach()'s two guards have none. Demonstrated regressions the 257-test suite misses: (a) drop the empty-file filter -> a zero-byte staged file is offered as a savable result; (b) hardcode outputModifiedAt=0 -> the newest-file tie-break is never fed real data, so an arbitrary-but-stable winner recurs every launch (the exact failure the tie-break exists to prevent); (c) delete the pick-race guard -> reattachment overwrites a file the user picked while the query was suspended (no test reaches the branch); (d) treat Ambiguous as Certain -> the card labels the file with the other job's input, the "confident lie" the KDoc rejects — the Ambiguous arm is unexercised end to end.
evidence: Mutations FULL-jobsnapshots-no-empty-check, FULL-jobsnapshots-zero-mtime, FULL-reattach-no-race-guard, FULL-ambiguous-job-named: all exit=0, classes=34, tests=257, failed=0. Control FULL-jobsnapshots-no-tags BITES ReattachedCleanupTest 1/3, proving the harness detects breakage in this file. Logs: scratchpad/overnight/tests/mutations.tsv, muts/M*.sh.
fix: One Robolectric test driving jobSnapshots() against real WorkManager + cacheDir (zero-byte file -> outputExists=false; two files, distinct mtimes -> ordered outputModifiedAt); two ReattachedCleanupTest-style cases (pick before reattach resolves -> pick survives; two aliased SUCCEEDED jobs -> neutral "Media file" label).
risk: mtime test must set timestamps explicitly (setLastModified), not rely on fs granularity. All JVM-verifiable with the existing Robolectric setup.
Cut:
above— worked autonomously overnight.🤖 Generated with Claude Code
Fixed in #48 (merged). Each fix is pinned by a mutation that was applied and reverted individually — the failure text is in the PR body. Suite 257 -> 276, 0 failures.