-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Caching] Make ActionCache update failure non-fatal temporarily #79931
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
[Caching] Make ActionCache update failure non-fatal temporarily #79931
Conversation
@swift-ci please smoke test |
ping |
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.
The change LGTM, but would like a swift person to confirm use of errs() here is acceptable.
6eb4783
to
3ab7675
Compare
@swift-ci please smoke test |
How does this interact with the mechanism to run the compile twice and fail the build if there are non-determinism issues, will this change prevent that mechanism from working? |
The swift deterministic check actually doesn't use caching. Maybe I should introduce a new version that checks from caching so there are no false positives from files changing on disk. |
Would it be useful to have a way to bring back the error instead of ignoring, maybe via an environment variable? |
Not currently. I don't see using this error message for deterministic output check at all. |
@swift-ci please test windows platform |
We may not have a direct use right now, but it's simple to add for future-proofing. E.g. possibly in the future we take care of the non-determinism issues and we want to try making it back to an error for some internal CI. |
Temporarily make action cache update non-fatal and not failing the job. The action cache update failure can happen due to cache poisoning from non-deterministic compiler output. Assume the errors from the non-determinism is benign and can be ignored till all issues are resolved. rdar://146780363
3ab7675
to
aa9ff52
Compare
@swift-ci please smoke test |
Temporarily make action cache update non-fatal and not failing the job. The action cache update failure can happen due to cache poisoning from non-deterministic compiler output. Assume the errors from the non-determinism is benign and can be ignored till all issues are resolved.
rdar://146780363