Skip to content

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Jul 24, 2025

Enhanced RecursionError messages throughout the subgraph system to provide actionable debugging information when circular references are detected.

Changes Made

SubgraphNode.getInnerNodes()

  • Added node ID, title, subgraph name, and depth information
  • Clear explanation that circular references create infinite loops in hierarchy

ExecutableNodeDTO.resolveInput/Output()

  • Added node information with optional title
  • Added path context showing subgraph nesting
  • Added slot-specific details and unique ID for debugging
  • Clear explanation about infinite loops in link resolution

Enhanced RecursionError messages throughout the subgraph system:

- SubgraphNode.getInnerNodes(): Include node ID, title, subgraph name, and depth information
- ExecutableNodeDTO.resolveInput/Output(): Include node info, path context, and slot details
- All errors now provide actionable context and explain the consequence (infinite loops)

Updated test expectations to match the new enhanced error messages.
Also includes ESLint cleanup removing unused imports.
@christian-byrne christian-byrne force-pushed the enhance-recursion-error-context branch from 9ef626c to fa50f2b Compare July 24, 2025 23:17
@christian-byrne christian-byrne merged commit 7802213 into master Jul 25, 2025
3 of 4 checks passed
@christian-byrne christian-byrne deleted the enhance-recursion-error-context branch July 25, 2025 19:09
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.

2 participants