fix(tasks): speed up resumed task log loading - #73092
Merged
Merged
Conversation
Generated-By: PostHog Code Task-Id: a9c061a3-575e-42c6-815e-c0b6edd4b846
Generated-By: PostHog Code Task-Id: a9c061a3-575e-42c6-815e-c0b6edd4b846
Contributor
|
Reviews (1): Last reviewed commit: "fix(tasks): bound concurrent log reads" | Re-trigger Greptile |
There was a problem hiding this comment.
Small, contained perf fix within the author's own owning area (bounded thread-pool for parallel log reads, larger page size); no risky territory touched and author has strong familiarity with this code.
- Author wrote 100% of the modified lines and has 31 merged PRs in these paths (familiarity STRONG).
- 👍 on the PR from greptile-apps[bot], hex-security-app[bot].
Gate mechanics and policy version
| Gate | Result | |
|---|---|---|
| prerequisites | ✓ | all clear |
| deny-list | ✓ | no deny categories matched |
| size | ✓ | 17L, 2F substantive — within ceiling |
| tier | ✓ | T1-agent / T1a-trivial (17L, 2F, single-area, fix) |
| stamphog 2.0.0b3 | .stamphog/policy.yml @ a679e1b · reviewed head 959e582 |
tatoalo
enabled auto-merge (squash)
July 23, 2026 09:54
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.
Problem
Opening a task with a long resume chain repeatedly reads the full history for each small response page. This keeps the task view loading much longer as its history grows.
Changes
Benchmark
Local benchmark using a representative multi-run JSONL fixture. The storage benchmark injects 25 ms of latency per object read to compare sequential and bounded-parallel behavior.