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.
This commit is contained in:
Angela P Wen 2024-08-20 16:04:03 -07:00 committed by GitHub
parent 512e3066dd
commit 202b3b97bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 107 additions and 96 deletions

View file

@ -81,7 +81,7 @@ async function runWrapper() {
getActionsStatus(error),
startedAt,
config,
await checkDiskUsage(),
await checkDiskUsage(logger),
logger,
error.message,
error.stack,
@ -99,7 +99,7 @@ async function runWrapper() {
"success",
startedAt,
config,
await checkDiskUsage(),
await checkDiskUsage(logger),
logger,
);
if (statusReportBase !== undefined) {