-
Notifications
You must be signed in to change notification settings - Fork 226
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
patchpkg: don't error on missing store refs #2293
Conversation
Don't exit non-zero when `devbox patch` is unable to restore some of the missing references to Python build dependencies. Fixes #2289.
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.
// Don't break the flake build if we're unable to | ||
// restore some of the refs. Having some is still an | ||
// improvement. | ||
slog.ErrorContext(ctx, "unable to restore all removed refs", "err", err) |
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.
any insight into the possible causes for why we're unable to restore some of the refs?
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.
Not entirely sure. It finds missing refs by searching for the package name (in this case llvm-16.0.6
) in the buildInputs
dependency tree of Python. Finding the packages this way is really just a heuristic, so it's not implausible that we miss something.
Right, I just enabled them by default when I added another test for this bug. |
Don't exit non-zero when
devbox patch
is unable to restore some of the missing references to Python build dependencies.Fixes #2289.