Skip to content

Conversation

@majiayu000
Copy link
Contributor

Fixes #341

Changes

  • Add check in GetFile() to return false for files with pending deletion status
  • Add test case to verify files with pending deletion cannot be retrieved

🤖 Generated with Claude Code

Add check in GetFile() to return false for files that have a pending
deletion timestamp set. This fixes a race condition where files could
still be downloaded during the grace period after deletion was
scheduled but before the actual deletion occurred.

Fixes Forceu#341

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
@Forceu Forceu merged commit 4286d75 into Forceu:master Jan 12, 2026
1 check passed
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.

Files with pending deletion can still be downloaded until deletion is complete and are shown in upload count for user

2 participants