Repository navigation
Open a remote session from its last 300 events - #2908
Draft
nortonandreev wants to merge 3 commits into
Draft
nortonandreev wants to merge 3 commits into
nortonandreev wants to merge 3 commits into
Conversation
The events route's from counts past the oldest event the stream still holds, so a one-event probe finds the window's start. An older page that would turn a loaded line into a scheduled prompt re-reads everything loaded; the rail's run monitor still reads the whole session.
A page's results, plan publishes, question answers and prompts can sit after the call that needs them, and the stream's count moves when its oldest events age out.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
This was referenced Nov 18, 2026
Qodana for .NET5 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
This branch has not been deployed
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.
Closes #2728 — AI-5618
What & why
Opening a remote session read its whole event stream before showing anything: 13,505 events took about 5.7 s in the guest. The chat now opens from the last 300 events, then tails live from there. Scrolling to the top pages in older events, and the viewport stays on the row being read.
Where to look
fromcounts from the oldest event the stream still holds, not by event number, so a one-event probe finds where the window starts. That makes two/eventsrequests on a first open.Verification
Tart VM (macOS 26, 4 vCPU, 4 GB), local server, 13,505-event session, cold restart then idle, 3 rounds alternating builds (
tools/app-perf/view_load.sh, #2896). Transcript on screen, upper bound of the frame range, median:/eventsbytes on openOne 1.9 MB
/detailread for the work-context pane remains; #2904 removes its duplicate.