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
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);
};