Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

🤖 perf: project giant payloads in the status read of partial.json

Open Beginner friendly
#5,213 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
performance

Research direction

Start with HistoryService.readPartial and AgentStatusService.buildTrailingTranscript, then inspect the projectStatusHistoryRow projection from #4790. Apply that projection only to the partial read used for the status transcript, preserving its non-repairing fallback. Done means large tool inputs, outputs, and file URLs are omitted while the formatted transcript remains identical.

Written by the indexing model from the issue text.

Description

Problem

Every sidebar status run also reads the in-flight partial.json (HistoryService.readPartial in AgentStatusService.buildTrailingTranscript). While an agent streams a giant turn (inline attachments, multi-MB tool output), that file holds the same giant payloads. Measured with a 12.3 MiB partial.json: 39 ms (node) and 46 ms (bun) per status run, without the history lock, every 10 s for an active focused workspace.

Proposed change

Apply the #4790 status projection (projectStatusHistoryRow: tool input/output to null, file url to "") to the partial read used by the status transcript only, with the same non-repairing fallback. The formatter never reads those fields, so the transcript stays identical.

Refs #4790


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $26.27

Dominant language
TypeScript
Stars
2k
Forks
139
Avg merge
6h 58m
Merged PRs (30d)
774

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/xum

All issues in coder/xum

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.