Repository navigation
Keep the last five opened remote transcripts - #2909
Draft
nortonandreev wants to merge 3 commits into
Draft
nortonandreev wants to merge 3 commits into
nortonandreev wants to merge 3 commits into
Conversation
Kept lines go out only once access is established, and a refusal, a 404 or a change of account forgets them. Each entry holds projected data, at most 2000 lines, never view models.
A snapshot is bound to the account it was read under, and the catch-up read starts at the last kept event so a stream whose oldest events aged out falls back to a fresh seed.
The cache stamps each feed with the account generation and the session's refusal count when it starts loading, and a snapshot is kept only while both still hold.
|
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
|
2 tasks
Qodana for .NET7 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
|
28 tasks
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 #2730 — AI-5620
Stacked on #2908.
What & why
Reopening a remote session read its seed again. The app now keeps the projected lines of the last five opened transcripts, up to 2,000 lines each and never view models. A reopen reads only the events recorded since.
Where to look
Kept lines are shown only after the catch-up read succeeds, and only while the account generation and the session's refusal count still match those stamped when the feed started loading. A refusal, a 404 or an account change discards them. If the catch-up reply does not start at the last kept event, for example because older events aged out, the app reads a fresh seed.
Verification
Same guest and runs as #2908. Transcript on screen, upper bound, median of 3 rounds: