Flight Log / dotnet/orleans #9573

Fix JsonValue serialization InvalidCastException in Orleans JsonCodec — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in dotnet/orleans on Jun 13, 2025; a burn — closed unmerged after human review: +70 −4, 4 files, 2 reviews.

All agent flights in dotnet/orleans · GitHub Copilot flights

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+70 −4
Files
4
Commits
4
Reviews
2
To merge
—
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

GitHub Copilot attempted a fix for an InvalidCastException thrown when Orleans grain methods with a JsonNode parameter serialize a JsonValue from JsonValue.Create(). The change spans 70 additions and four deletions across four files in four commits. Two reviews recorded zero change requests. The pull request closed unmerged after human review, a burn.

From the pull request description

This PR fixes an `InvalidCastException` that occurs when serializing `JsonValue` objects created with `JsonValue.Create()` in Orleans grain methods. ## Problem When a grain interface has a `JsonNode` parameter and is called with `JsonValue.Create(1)`, Orleans throws: ``` System.InvalidCastExcepti…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. —reviewed
  5. —committedcopilot-swe-agent[bot]
  6. Jul 12, 2025closedReubenBond

Cite this flight: AgentRiders Flight Log, dotnet/orleans#9573, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/orleans/9573/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.