feat(autoresearch): improve experimental task switching#3551
Open
MattPua wants to merge 4 commits into
Open
Conversation
Generated-By: PostHog Code Task-Id: 76febe11-f045-4047-bcdf-3a626a174ce8
|
React Doctor found 4 issues in 2 files · 4 warnings. 4 warnings
Reviewed by React Doctor for commit |
Generated-By: PostHog Code Task-Id: 76febe11-f045-4047-bcdf-3a626a174ce8
MattPua
marked this pull request as ready for review
July 17, 2026 19:38
adamleithp
approved these changes
Jul 17, 2026
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
Switching between tasks in the experimental thread view can block the UI for more than a second, especially for tasks with long histories.
Created with Autoresearch.
Changes
TaskDetailacross route parameter changes instead of remounting the full tree.Performance
Lower is better. Each point is the steady-state median task-switch latency measured during its autoresearch iteration.
xychart-beta title "Task switch latency by iteration" x-axis "Iteration" [1, 2, 3, 4, 5, 6] y-axis "Median latency (ms)" 0 --> 1600 line [1552, 872, 598, 611, 716, 792]TaskDetailWhy this is useful
How did you test this?
pnpm exec biome checkon changed files.pnpm typecheck.git diff --check.Automatic notifications
Created with PostHog Code