Repository navigation
fix(chat): show sent attachments immediately and preserve reading position - #4687
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
reachjalil
enabled auto-merge (squash)
September 9, 2026 18:07
Contributor
|
Passed · 1/1 tests · 2/2 assertions · 0 images Commit |
Contributor
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (f32d3f71d9819e45d811ca012d6399455cba9ea2). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
This was referenced Sep 10, 2026
This branch was successfully 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.
Summary
Make conversation feedback immediate without discarding readable history or fighting the person's scroll position.
Rebased onto
devat52a028817ec185df72c28d08bc87db90ba7c71a4. This preserves #4681's cached-history reuse and #4683's one-shot reveal of newly submitted messages, including oversized prompts.Scope
No new virtualizer, smaller history limit, eager history prefetch, upload parallelism, or changes to task execution/admission. Server history pagination, snapshot/status decoupling, and split-pane stream scheduling are deferred rather than bundled into this change.
The v2 adapter still omits user file parts. Its acknowledged message retains the local preview while the app is open; this PR does not claim attachment persistence across a reload on that engine. Pending previews without a complete server replacement remain retained for recovery.
Verification — Incomplete
Candidate:
f32d3f71d9819e45d811ca012d6399455cba9ea2.Passed: 44 focused tests, 0 failures in the final selected invocations, plus app typecheck and whitespace validation.
From
apps/app, run these as separate invocations:From the repository root:
Earlier failed check: combining the DOM component and Markdown tests in one Bun 1.3.4 invocation reported four Markdown wrapper/sanitizer assertions. That runtime does not advertise
--isolate; the final invocations keep the DOM fixtures in separate processes. The Markdown-only command passed both here and in a clean base control. The combined failure is not classified as a pre-existing product defect.Deferred / missing proof: the existing
streamed-markdown-answerandattachment-upload-loading-statejourneys were extended, but their real-app, exact-head runs and published test evidence have not been produced in this pass. No cloud test resources were provisioned. Focused component tests are not browser-layout or runtime proof; this is not a merge-readiness claim.Remaining verification commands, with the pushed candidate selected for remote resources:
Manual acceptance