Flight Log / dotnet/runtime #115823

Fix System.Text.Json flags enum serialization with JsonStringEnumConverter — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in dotnet/runtime on May 21, 2025; a burn — closed unmerged after human review: +749 −423, 5 files, 10 reviews.

All agent flights in dotnet/runtime · GitHub Copilot flights

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+749 −423
Files
5
Commits
11
Reviews
10
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's fix in dotnet/runtime addresses a System.Text.Json flags enum serialization regression with JsonStringEnumConverter. The change touched five files, with 749 additions and 423 deletions across 11 commits. The PR drew 10 reviews and eight review comments, including a request to integrate Enum.Parse tests. It closed unmerged after human review.

“To ensure even better test coverage, could you please extract test cases from the `Enum.Parse` test suite: https://github.com/dotnet/runtime/blob/main/src/libraries/System.Runtime/tests/System.Runtime.Tests/System/EnumTests.cs and integrate those with the existing test”

— from the review (source)

From the pull request description

This PR fixes a regression in System.Text.Json 9 where flags enums are serialized differently than in previous versions when using `JsonStringEnumConverter`. The issue occurs specifically when there are combinations of bits where not all individual bits have their own explicit enum value. In .NET 8…

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. —committedcopilot-swe-agent[bot]
  5. —reviewed
  6. —committedcopilot-swe-agent[bot]
  7. —reviewed
  8. —committedcopilot-swe-agent[bot]
  9. —reviewed
  10. —reviewed
  11. —committedcopilot-swe-agent[bot]
  12. —reviewed
  13. —committedcopilot-swe-agent[bot]
  14. —reviewed
  15. May 21, 2025labeleddotnet-policy-service[bot]

Cite this flight: AgentRiders Flight Log, dotnet/runtime#115823, record updated Nov 4, 2026, https://agentriders.com/logs/dotnet/runtime/115823/

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