Skip to content

fix(downloads): prevent removed items from returning - #275

Open
ShiroKSH wants to merge 1 commit into
tonhowtf:mainfrom
ShiroKSH:fix/download-removal-race
Open

fix(downloads): prevent removed items from returning#275
ShiroKSH wants to merge 1 commit into
tonhowtf:mainfrom
ShiroKSH:fix/download-removal-race

Conversation

@ShiroKSH

@ShiroKSH ShiroKSH commented Aug 1, 2026

Copy link
Copy Markdown

Summary

  • prevent late progress events from recreating a download that was removed from the authoritative queue
  • preserve a cancelled queue item when a worker reports completion concurrently
  • cover removal and re-queue state transitions

Fixes #274.

Checks

  • pnpm test — 71 passed
  • pnpm check — 0 errors
  • cargo fmt --all -- --check
  • cargo test --workspace — 702 passed

cargo clippy --workspace --all-targets -- -D warnings remains blocked by 37 pre-existing findings outside this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Não é possível cancelar e remover download do YouTube após iniciá-lo (Windows 11)

1 participant