fix: doctor skips host services for isolated state (#115922)

* fix(doctor): isolate host service management

* fix(doctor): clarify service isolation recovery

* test(doctor): isolate service identity fixtures

* test(daemon): keep lifecycle fixtures lint-clean

* test(daemon): isolate install identity fixtures
This commit is contained in:
Peter Steinberger
2026-07-29 11:09:56 -04:00
committed by GitHub
parent 6ec3dbd92d
commit 383f8947c1
27 changed files with 442 additions and 22 deletions
+5
View File
@@ -87,6 +87,11 @@ const mocks = await vi.hoisted(async () => {
const { runtimeLogs } = mocks;
vi.mock("../config/paths.js", async () => {
const actual = await vi.importActual<typeof import("../config/paths.js")>("../config/paths.js");
return { ...actual, isDefaultInstallIdentity: () => true };
});
vi.mock("./daemon-cli/probe.js", () => ({
probeGatewayStatus: (opts: unknown) => probeGatewayStatus(opts),
}));