Skip to content

[Lock] add safeguards for network/distributed file systems#384

Open
johntruckenbrodt wants to merge 15 commits intomainfrom
bugfix/lock_wait_exist
Open

[Lock] add safeguards for network/distributed file systems#384
johntruckenbrodt wants to merge 15 commits intomainfrom
bugfix/lock_wait_exist

Conversation

@johntruckenbrodt
Copy link
Owner

@johntruckenbrodt johntruckenbrodt commented Jan 27, 2026

  • wait some time for the target's parent directory to exist
  • if soft=True, wait for the target to exist
  • retry creating lock files for some time
  • all methods respect the user-defined timeout

@coveralls
Copy link

coveralls commented Jan 27, 2026

Pull Request Test Coverage Report for Build 21959499660

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 33 of 39 (84.62%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 55.008%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pyroSAR/ancillary.py 33 39 84.62%
Totals Coverage Status
Change from base Build 21956936674: 0.1%
Covered Lines: 4163
Relevant Lines: 7568

💛 - Coveralls

@johntruckenbrodt johntruckenbrodt changed the title [Lock] if soft=True, wait for the target to exist [Lock] add safeguards for network/distributed file systems Jan 27, 2026
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.

2 participants