Skip to content

test: add cleanup-during-download concurrency coverage - #27

Merged
isthatpratham merged 1 commit into
mainfrom
test/cleanup-during-download
Aug 30, 2026
Merged

isthatpratham merged 1 commit into
mainfrom
test/cleanup-during-download

Conversation

@isthatpratham

Copy link
Copy Markdown
Owner

Summary

  • Add a regression test that starts cleanup in the same tick as a one-slot download
  • Complements the existing two-request reservation race and the last_download_at unit case

Testing

  • npm test -- src/__tests__/downloadConcurrency.test.ts — 3 tests passed

Prove a one-slot download still completes when a cleanup round starts at the same time.
@isthatpratham
isthatpratham merged commit b384c1c into main Aug 30, 2026
1 check passed
@isthatpratham
isthatpratham deleted the test/cleanup-during-download branch August 30, 2026 23:45
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.

1 participant