Add reentrancy warning and summary table to Orleans request scheduling docs#52123
Open
Add reentrancy warning and summary table to Orleans request scheduling docs#52123
Conversation
Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add summary table and warning to reentrancy section
Add reentrancy warning and summary table to Orleans request scheduling docs
Mar 9, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Orleans request scheduling documentation to make the Reentrancy section safer and easier to scan by adding an upfront warning and a quick-reference comparison of reentrancy mechanisms.
Changes:
- Added a WARNING admonition at the start of the Reentrancy section to flag the risks of incorrect reentrancy usage.
- Added a summary table comparing the available reentrancy/interleaving options, including scope and intent.
- Updated frontmatter metadata (
ms.date) and addedai-usage: ai-assisted.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
The Orleans reentrancy section lacked a quick-reference overview and no upfront signal that it's an advanced, footgun-prone feature.
Changes
## Reentrancysection flagging race conditions, state corruption, and diagnostic difficulty from misuse.[Reentrant][AlwaysInterleave][ReadOnly][ReadOnly]methods[MayInterleave]AllowCallChainReentrancy()ms.dateand addedai-usage: ai-assisted.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews