Repository navigation
Conversation
lxsmnsyc
force-pushed
the
feat/async-panel
branch
from
October 24, 2026 14:03
68f5414 to
344d916
Compare
- An Async tab shows the async memos that are loading now, with how long each has been loading and how many nodes wait on them. The list comes from the reactivity graph while the panel is open. - Its history lists loads, waits, fallbacks and chains of loads that ran one after another, from the attribution engine's flight, hold and fallback records and its waterfall history. - Loads replaced by a newer load, waits with no pending state on screen or a long tail, fallbacks shown for less than 150ms, and chains are flagged. - A record shows the action that started it, links to the reactivity graph and the ownership tree, and has a copy button for an agent report. - Owner paths drop the toolbar's own owners, as the Issues panel does. - The test fixture has a profile with two chained loads inside a Loading boundary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lxsmnsyc
force-pushed
the
feat/async-panel
branch
from
October 24, 2026 14:12
344d916 to
8fc64b9
Compare
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.
Adds an Async tab that shows what the app is loading now, and how its async loads, waits and fallbacks went. This PR is based on #29.
Changes
flightrecords. A load that a newer one replaced is flagged.holdrecords: what it waited on, the held writes, and the pending state the screen showed. A wait with nothing on screen, or a long tail, is flagged.fallbackrecords. One shown for less than 150ms is flagged as a flash.attribution.history('waterfall'). The buffer is read on a microtask after each record, since the runtime stores a chain after the record of the load that ended it.postsload waits for itsuserload, inside aLoadingboundary.A load that is still pending because its source has not landed yet also counts as loading now, since the graph marks it pending.
Testing
src/dev-toolbar/async/tracker.test.tscover the history order, path trimming, chain dedupe, the limit, every flag and the reports.pnpm test,pnpm typecheck,pnpm format:check,pnpm build,pnpm checkand the full e2e suite pass locally.🤖 Generated with Claude Code