Skip to content

execution_graph: validate graph API usage#87

Merged
waywardmonkeys merged 1 commit into
forest-rs:mainfrom
waywardmonkeys:execution_graph/result-api-and-traps
May 31, 2026
Merged

execution_graph: validate graph API usage#87
waywardmonkeys merged 1 commit into
forest-rs:mainfrom
waywardmonkeys:execution_graph/result-api-and-traps

Conversation

@waywardmonkeys
Copy link
Copy Markdown
Contributor

Return structured errors from graph construction and wiring APIs instead of silently ignoring bad nodes, inputs, or outputs. Preserve execution_tape TrapInfo in GraphError::Trap so callers can inspect the node, function, pc, span, and trap kind.

Update examples, benchmark setup, docs, and regression tests for the Result-returning API.

Return structured errors from graph construction and wiring APIs instead of silently ignoring bad nodes, inputs, or outputs. Preserve execution_tape TrapInfo in GraphError::Trap so callers can inspect the node, function, pc, span, and trap kind.

Update examples, benchmark setup, docs, and regression tests for the Result-returning API.
@waywardmonkeys waywardmonkeys merged commit ea09aae into forest-rs:main May 31, 2026
15 checks passed
@waywardmonkeys waywardmonkeys deleted the execution_graph/result-api-and-traps branch May 31, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant