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

Make concurrent-process package source installation safe #4168

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

IanButterworth
Copy link
Member

Fixes #3495

But only if all concurrent julia process installations have this fix.. I'm not sure there's a way to protect against older versions..

  • Pidlocks the source path during check/download/installation
  • Protects against an interrupted mv from temp dir to final path by checking tree_hash before and after and deleting the destination if bad.

Also, I split out enabling the TODO for tree_hash vs. expected sha on Windows because that's less clear to me #4167

@IanButterworth IanButterworth force-pushed the ib/pidlock_download_source branch from 4db38bc to 274d247 Compare February 23, 2025 04:08
@IanButterworth IanButterworth force-pushed the ib/pidlock_download_source branch from 274d247 to 3db4eb8 Compare February 23, 2025 04:17
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.

Feature request: Support instantiation of multiple julia environments in parallel
1 participant