-
Notifications
You must be signed in to change notification settings - Fork 323
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
Stop checking disk usage for MacOS ARM with SIP disabled #2434
Conversation
On MacOS ARM machines where SIP is disabled, after the build tracer is initialized in the `init` Action, we receive warnings when we run send status reports due to the `df` binary. This change will make it so that we no longer run `df` for those machines.
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.
Nice
* Consider registries_credentials as input * Clean-up logging * More debugging of credentials * Support URL * Validate credentials input * fixes * Try upload teh proxy logs * Update changelog and version after v3.26.3 * Update checked-in dependencies * Stop checking disk usage for MacOS ARM with SIP disabled (#2434) * Stop checking disk usage for MacOS ARM with SIP disabled On MacOS ARM machines where SIP is disabled, after the build tracer is initialized in the `init` Action, we receive warnings when we run send status reports due to the `df` binary. This change will make it so that we no longer run `df` for those machines. * Add deprecation message to `add-snippets` input. * Update changelog with deprecation. * Add link to PR deprecating `add-snippets` to CHANGELOG.md Co-authored-by: Andrew Eisenberg <[email protected]> * Address incorrect changelog location * Update changelog for v3.26.4 --------- Co-authored-by: Marco Gario <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Henry Mercer <[email protected]> Co-authored-by: Arthur Baars <[email protected]> Co-authored-by: Angela P Wen <[email protected]> Co-authored-by: Remco Vermeulen <[email protected]> Co-authored-by: Remco Vermeulen <[email protected]> Co-authored-by: Andrew Eisenberg <[email protected]>
if ( | ||
process.platform === "darwin" && | ||
(process.arch === "arm" || process.arch === "arm64") && | ||
!(await isSipEnabled(logger)) |
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.
@angelapwen
I think isSipEnabled
should not be called after the tracer has been initialised. Perhaps run it once in init
and store the result with core.saveState()
. The csrutil
command is arm64e just like df
.
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.
On MacOS ARM machines where SIP is disabled, after the build tracer is initialized in the
init
Action, we receive warnings when we run send status reports due to thedf
binary. This change will make it so that we no longer rundf
for those machines.Merge / deployment checklist