# Interface NodeResult

Result of a single node execution.

interface NodeResult {
nodeId: string;
stateUpdates: Partial<GraphState>;
durationMs: number;
status: "failed" | "success" | "skipped" | "interrupted";
error?: string;
interrupt?: Interrupt;
gotoTarget?: string;
}

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:252

##### Index

### Properties

nodeId
stateUpdates
durationMs
status
error?
interrupt?
gotoTarget?

## Properties

### `Readonly` nodeId

nodeId: string

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:253

### `Readonly` stateUpdates

stateUpdates: Partial<GraphState>

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:254

### `Readonly` durationMs

durationMs: number

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:255

### `Readonly` status

status: "failed" | "success" | "skipped" | "interrupted"

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:256

### `Optional` `Readonly` error

error?: string

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:257

### `Optional` `Readonly` interrupt

interrupt?: Interrupt

Set when the node returned an Interrupt envelope (#1895).

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:259

### `Optional` `Readonly` gotoTarget

gotoTarget?: string

Set when the node returned a Command with `goto`. The executor uses this to redirect the next runnable set instead of resolving outgoing edges. Validated against the compiled graph; unknown targets are logged + ignored. (#2425)

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:266