Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup lock files in UNIX #24035

Merged
merged 1 commit into from
Apr 2, 2025
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 2, 2025

See tox-dev/filelock#31 and https://stackoverflow.com/a/51070775.

Without this change the cache/symbol_lists directory ends up full of many lock files that might never get cleaned up (At least since #24029 landed).

I'm also sending this change upstream: tox-dev/filelock#408

@sbc100 sbc100 requested review from kripken and dschuff April 2, 2025 16:55
See tox-dev/filelock#31
And https://stackoverflow.com/a/51070775

Without this change the `cache/symbol_lists` directory ends up full of
many lock files that might never get cleaned up (At least since emscripten-core#24029
landed).
@sbc100 sbc100 force-pushed the cleanup_lock_file branch from 89502dc to dd68169 Compare April 2, 2025 16:57
sbc100 added a commit to sbc100/filelock that referenced this pull request Apr 2, 2025
This avoids leaving orphan locks files around after we are done when
them.

See emscripten-core/emscripten#24035

Fixes: tox-dev#31
sbc100 added a commit to sbc100/filelock that referenced this pull request Apr 2, 2025
This avoids leaving orphan locks files around after we are done when
them.

See emscripten-core/emscripten#24035

Fixes: tox-dev#31
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an expert on this but it seems right and upstream approved it.

@sbc100 sbc100 merged commit f51916e into emscripten-core:main Apr 2, 2025
28 checks passed
@sbc100 sbc100 deleted the cleanup_lock_file branch April 2, 2025 18:25
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