docs(router): circuit breaker in subgraph execution#86
Open
Conversation
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/df201bf4-472a-4cd5-8286-7cf523e0365d Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/adb0fa7f-61d4-4b30-b4ea-aa2ebf2aaf89 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/a0c25c65-fc2d-4849-9d1f-e7e2cef52f58 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ardatan
April 9, 2026 12:26
View session
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Router documentation describing the new circuit breaker behavior for subgraph execution and exposes the related traffic_shaping.circuit_breaker configuration in the reference docs (supporting graphql-hive/router#900).
Changes:
- Add a new “Circuit Breaker” section to the Performance Tuning guide (states, configuration examples, tuning guidance, and a metric mention).
- Extend the
traffic_shapingconfiguration reference to document thecircuit_breakeroption and its fields. - Update the “Outbound Options” section to include
circuit_breakeramong globally/per-subgraph overrideable settings.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/documentation/content/docs/router/guides/performance-tuning.mdx | Introduces circuit breaker guide content, examples, and metrics/tuning notes. |
| packages/documentation/content/docs/router/configuration/traffic_shaping.mdx | Documents traffic_shaping.*.circuit_breaker config schema and links to the tuning guide. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/documentation/content/docs/router/guides/performance-tuning.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/content/docs/router/guides/performance-tuning.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/content/docs/router/guides/performance-tuning.mdx
Outdated
Show resolved
Hide resolved
…tuning.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tuning.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tuning.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Member
|
@copilot fix linting |
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/5cfb6b53-b887-4443-9179-567a36d06d91 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation for graphql-hive/router#900