Fail package update on unhealthy restart (#72422)

This commit is contained in:
Tak Hoffman 2026-04-26 18:38:23 -05:00 committed by GitHub
parent 998e37fcb3
commit 560ddd2f9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 129 additions and 24 deletions

View file

@ -856,6 +856,10 @@ async function maybeRestartService(params: {
}
}
if (isPackageManagerUpdateMode(params.result.mode)) {
return false;
}
return !(health.versionMismatch || health.activatedPluginErrors?.length);
};