-
Notifications
You must be signed in to change notification settings - Fork 38
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
Do not fail cache key computation in case of no 'pip-dependency-file' #83
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - @KyleTryon should be a patch release
@KyleTryon @zigarn I have exactly the same problem. Can we merge the fix? |
@clementlecorre Looks like this is not relevant anymore with latest version 2.0.0 released yesterday. |
I'm in version 2.0.0, but I have a similar bug....
I use the same command as the example, maybe it's also a configuration problem on my side |
You got a new bug from new code... What's the output of previous step "Link lockfile"? |
Step "Link lockfile" ✅
To be more precise I have the error on the cache (step: "Restoring cache" ❌ ) (I quoted above), it is not blocking for the continuation. Then I have an error on the step "Copy to cache directory" ❌
|
It's clearly a bug with the new code, better to fill an issue about this. (a quick and dirty fix would be to add
But would be better to investigate as it's weird to try to create this lock link multiple times. Unless you use this job multiple time? |
I use the step only once. 🎉 I think the bug comes from the "Copy to cache directory" step. I think the unlink is not working properly. python-orb/src/scripts/cache-save.sh Lines 66 to 68 in 349f0de
Helpers:
|
-f FILE FILE exists and is a regular file -L FILE FILE exists and is a symbolic link (same as -h) issue: CircleCI-Public#83 (comment)
I was hoping to address this PR with these changes, but to my dismay this issue has cropped up. Will track this on the open PR #89 |
It was not failing the build but failing the use of cache.
Before this patch: https://app.circleci.com/pipelines/github/CircleCI-Public/python-orb/339/workflows/fa79d98d-a100-4955-885a-47f70dfd5cb0/jobs/1434