-
Notifications
You must be signed in to change notification settings - Fork 338
-
Since switching to using a remote package, a couple of our workflows have started to fail occasionally with the following error:
Exception when making request `GET https://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.1`:
HTTP connect timed out
They're basically doing brew install pkl && pkl eval -o output.file input.pkl and we've seen it in one project where we import the package directly into a single file and another where we import the package into a project.
Is there anything else we should be doing here? I'm thinking something like passing a flag to ask pkl for x number of retries or if we can cache the downloaded package across runs (I haven't figured out where they live yet).
Beta Was this translation helpful? Give feedback.
All reactions
See this post for an approach for vendoring your dependencies:
Replies: 1 comment 2 replies
-
(I haven't figured out where they live yet).
Answering my own question, I found it: ~/.pkl/cache. Will try and cache this and see what happens 🤞
Beta Was this translation helpful? Give feedback.
All reactions
-
See this post for an approach for vendoring your dependencies:
Beta Was this translation helpful? Give feedback.
All reactions
-
Woah, that's neat, thanks for pointing this out @bioball.
Beta Was this translation helpful? Give feedback.