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

Throw error if the python package disk cache dir is missing. #2664

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

dom96
Copy link
Collaborator

@dom96 dom96 commented Sep 5, 2024

I ran into this when regenerating snapshots, should be loud here so we aren't accidentally not using the disk cache when we're supposed to. Unless there are cases where we rely on this silently failing?

@dom96 dom96 requested review from a team as code owners September 5, 2024 17:35
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

LGTM but would it be reasonable for workerd to try to create the directory if it doesn't exist?

@dom96 dom96 force-pushed the dominik/improve-error-cache-missing branch from d89dab5 to 0a7c5e7 Compare September 6, 2024 09:42
@dom96 dom96 merged commit 8bf5a08 into main Sep 9, 2024
13 checks passed
@dom96 dom96 deleted the dominik/improve-error-cache-missing branch September 9, 2024 11:14
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