feat(FN-2727): add node routing controls to CLI and dashboard
- Add CLI support for task node routing with create --node, task set-node, and task clear-node commands - Extend settings command validation/output for defaultNodeId and unavailableNodePolicy and document new keys - Surface task routing details in CLI task show plus dashboard Routing tab status/binding reason indicators - Enhance Settings modal node routing UX with selected-node health status and add/refresh tests and changeset
This commit is contained in:
@@ -32,6 +32,8 @@ const commandMocks = vi.hoisted(() => ({
|
||||
runTaskComment: vi.fn(),
|
||||
runTaskComments: vi.fn(),
|
||||
runTaskSteer: vi.fn(),
|
||||
runTaskSetNode: vi.fn(),
|
||||
runTaskClearNode: vi.fn(),
|
||||
runTaskPrCreate: vi.fn(),
|
||||
|
||||
runSettingsShow: vi.fn(),
|
||||
@@ -122,6 +124,8 @@ vi.mock("../commands/task.js", () => ({
|
||||
runTaskComment: commandMocks.runTaskComment,
|
||||
runTaskComments: commandMocks.runTaskComments,
|
||||
runTaskSteer: commandMocks.runTaskSteer,
|
||||
runTaskSetNode: commandMocks.runTaskSetNode,
|
||||
runTaskClearNode: commandMocks.runTaskClearNode,
|
||||
runTaskPrCreate: commandMocks.runTaskPrCreate,
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user