Skip to content

Conversation

@chrisgoringe
Copy link
Contributor

Infinite loops in the workflow don't currently give a good error message.

This PR detects loops by maintaining a stack in the recursive calls of validate_input. If we try to validate a node that is already on the stack, it's a loop, so we fail validation with a descriptive error and return.

In addition (the changes after line 650), the extra_info is currently discarded. This change adds the extra_info from errors which have cascaded down into the final report.

@mcmonkey4eva
Copy link
Contributor

likely outdated by #2666

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