Skip to content

Conversation

@iron-prog
Copy link
Contributor

Summary

  • This is a…

    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1–2 sentences:
    Adds a regression test to ensure FileIdentity detects when a file is deleted after its identity has been captured.

Problem

When a file is deleted externally after its FileIdentity is captured, this edge case was not covered by existing tests. This could allow regressions where such a situation is not detected correctly.

Solution

Adds a test case in test_file_identity.py that deletes a file after capturing its identity and verifies that the identities are not equal.

@zas zas requested a review from phw January 26, 2026 13:04
@phw phw merged commit 8e2cdc4 into metabrainz:master Jan 26, 2026
51 checks passed
@iron-prog iron-prog deleted the test-file-deleted-after-capture branch January 26, 2026 14:02
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.

3 participants