mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 04:15:48 -06:00
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:
committed by
GitHub
parent
6ec3dbd92d
commit
383f8947c1
@@ -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),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user