Skip to content

Handle SystemStackError in Execution::Next - #5705

Open
ydah wants to merge 1 commit into
rmosolgo:masterfrom
ydah:handle-execution-stack-errors
Open

Handle SystemStackError in Execution::Next#5705
ydah wants to merge 1 commit into
rmosolgo:masterfrom
ydah:handle-execution-stack-errors

Conversation

@ydah

@ydah ydah commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This PR extends the execution-time SystemStackError handling added in #5683 to GraphQL::Execution::Next.

Previously, GraphQL::Execution::Next allowed a SystemStackError raised during execution to escape from GraphQL::Execution::Runner. This bypassed Schema#query_stack_error and returned an unhandled application error instead of GraphQL-Ruby's configured stack error response.

The runner now delegates execution-time stack errors to Schema#query_stack_error, matching the legacy interpreter behavior.

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