LauncherWiringTest's file-card assertion flaked once on CI in its first day #220
Closed
opened 2026-09-06 01:36:11 +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#220
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.
LauncherWiringTest > a picked document is loaded as input rather than saved tofailed once on CI,in the wave-4 merge train, and passed everywhere else. Filing it rather than shrugging because it is
a new test — added in #214 (ticket #200) on 2026-09-05 — and a test that flakes in its first day
is a defect in the test, not a curiosity.
The occurrence
PR #218, run
34001741668, Unit tests leg:Line 88 is the whole point of the test:
So the picked URI did not produce a file card within the rule's idle wait.
What it is not
It was initially suspected of being an interaction with #218, which substitutes the
Applicationforthe whole JVM suite (
TestLibreMediaConverterApp, #159). That is ruled out: #219 is stacked on#218, so its CI run contains the same Application change and this test, and its Unit tests leg is
green — 12/12, no failures. Verified with
git merge-base --is-ancestor, not assumed from the branchname.
Locally, on a branch carrying everything: the class alone passed 5/5, and the full suite passed 2/2.
So it is one occurrence in six CI runs that contain the test, and it does not reproduce on demand.
Where to look first
The test drives a real
ConversionViewModelinside a composition, and the file card appears onlyonce the screen reaches
Ready. Two candidates, both about state the test shares rather than owns:installTestWorkManager(app, Data.EMPTY). AData.EMPTYoutput makes a SUCCEEDED job map toFailedrather thanConverted— this bit #202 during the same wave and cost a timed-outawaitStatethere. If anything leaves a job visible tojobSnapshots,observe()can move thescreen off
Readyand the card never renders.ConversionDependencies.probeis process-global, set insetUpand cleared intearDown. Anypath that skips
tearDownleaves the next class composing against a real probe.Neither is confirmed. The useful next step is to run the class after the classes that precede it in
the CI ordering, rather than alone.
Not proposed
A retry rule or an increased timeout. The assertion is the test's only claim; making it wait longer
would hide the case where the wiring genuinely does not fire, which is the transposition defect
#200 exists to catch.
Two more sightings today, both on PRs whose diff cannot reach it — so the "flaked once in its first day" framing in the title is now understating it.
34009201110androidTestfiles + one docLauncherWiringTestfailed and #125's deadlock hit the watchdog34011267951androidTestfile628 tests completed, 1 failed—LauncherWiringTestalone, in 1m07sBoth times the failing assertion is the same one the title names:
Both passed on re-run with no change.
Worth recording because the second one isolates it. The #232 run also carried #125's Room/WorkManager deadlock, so that failure could be argued as fallout from a run already in trouble. The #235 run had no deadlock, took 1m07s, and failed only this — so this is its own flake and not a symptom of the hang.
Neither PR touches
app/src/mainorapp/src/test. Three sightings now, all on diffs that cannot explain them.