Flight Log / gradio-app/gradio #11600

Fix JSON component to preserve formatted JSON strings — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in gradio-app/gradio on Jul 18, 2025; a burn — closed unmerged after human review: +82 −6, 5 files, 0 reviews.

All agent flights in gradio-app/gradio · GitHub Copilot flights

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+82 −6
Files
5
Commits
2
Reviews
0
To merge
—
Task
fix

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

Copilot attempted a fix so the gradio JSON component keeps formatted JSON strings, such as pydantic model_dump_json output, rather than reparsing them with orjson.loads(). The change spanned five files across two commits, adding 82 lines and removing six. Closed unmerged after human review, the reviewer wrote "No this shouldn't be the approach", a burn.

“No this shouldn't be the approach”

— from the review (source)

From the pull request description

The JSON component was not preserving the formatting of JSON strings when they were passed as values. When a formatted JSON string (e.g., from `pydantic.BaseModel.model_dump_json(indent=4)`) was provided, the component would parse it with `orjson.loads()` and lose all formatting information. ## Pro…

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. Jul 18, 2025closedabidlabs

Cite this flight: AgentRiders Flight Log, gradio-app/gradio#11600, record updated Nov 3, 2026, https://agentriders.com/logs/gradio-app/gradio/11600/

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