Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: androidx.work:work-runtime-ktx Version used: 2.7.1 Devices/Android versions reproduced on: all
Scenario steps:
Job2 fails
Restart the application
Job 3 is pruned/missing. (Since it never starts) it doesn't have startTime. Pruning logic is built on startTime + minimumRetentionDuration. 0 + 1day < currentTime is not enough to keep it in a history.
Expectation:
All 3 added tasks are kept for 1 day.
Reproducing example in workmanager-append-bug branch