feat(FN-1079): add remote node runtime orchestration
- Add RemoteNodeClient and RemoteNodeRuntime with comprehensive lifecycle, status, and metrics test coverage - Route projects by node assignment in ProjectManager and integrate remote runtime handling in HybridExecutor - Introduce NodeHealthMonitor and wire diagnostic logging/export updates for remote node health tracking - Harden remote runtime shutdown checks and type-safety paths surfaced during review feedback
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
||||
import { createLogger, schedulerLog, executorLog, triageLog, mergerLog, worktreePoolLog, reviewerLog } from "./logger.js";
|
||||
import {
|
||||
createLogger,
|
||||
schedulerLog,
|
||||
executorLog,
|
||||
triageLog,
|
||||
mergerLog,
|
||||
worktreePoolLog,
|
||||
reviewerLog,
|
||||
remoteNodeLog,
|
||||
} from "./logger.js";
|
||||
|
||||
describe("createLogger", () => {
|
||||
let logSpy: ReturnType<typeof vi.spyOn>;
|
||||
@@ -71,5 +80,8 @@ describe("createLogger", () => {
|
||||
|
||||
reviewerLog.log("review");
|
||||
expect(logSpy).toHaveBeenCalledWith("[reviewer] review");
|
||||
|
||||
remoteNodeLog.log("stream");
|
||||
expect(logSpy).toHaveBeenCalledWith("[remote-node] stream");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user