Repository navigation
feat(native): complete Wave 1B TV-STREAM, TV-HISTORY, and TV-WATERMARK parity - #360
Merged
Merged
Conversation
…visit watermark parity Bring TV-STREAM, TV-HISTORY, and TV-WATERMARK to full parity with web: retry RPC stream open after defects (Closes #272), skip redundant visibility recomputation on status updates (Ref #223), add bounded snapshots and deferred-work/throughEntryId history paging, and support query-bearing palette visits, side-chat visit tracking, and legacy-server local watermarks with one-time migration (Closes #228, Ref #243). Implemented with Gemini / Antigravity.
…ery, stop reconciliation, and visit watermarks
…ory-watermark # Conflicts: # apps/native/parity/LEDGER.md
Add loading skeleton and inline retry prompt to expanded turn/attempt folds without collapsing on error, and sync fold work states from thread history. Model: Gemini
…m errors Serialize fetch_side_history_page with history_merge_lock and track last_error in Composer Snapshot so stream error set/clear repaints the UI. Model: Gemini
This was referenced Nov 13, 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.
Ref #243
Ref #223
Closes #272
Closes #228
Problem
Three Thread View slices (
TV-STREAM,TV-HISTORY, andTV-WATERMARK) inapps/nativehad parity gaps against the web client:pingdotgg/t3code#31071) #272),ClientEvent::StreamErrordid not repaint the composer or clear stale stream errors upon recovery, status-only updates recomputed visible items unnecessarily (parity: perf(shared): avoid redundant visibility work on status updates (pingdotgg/t3code#28965) #223), and#187(media) was still attached toTV-STREAMdespite belonging toTR-MEDIA.deferWork=1),view=work/throughEntryIddeferred-work & target paging,reconcilePendingWork, serialized history/deferred-work merges across main and side chats, fold loading skeletons and inline retry-without-collapse on error, andfind/citations/disclosure expansion triggers.source = "search_query"on palette open, gated cleanly by watermark readiness), side-chat visit recording gated on pane visibility + thread selection, and legacy-server capability support + local watermark persistence with one-time migration (parity: fix(client): mark unread sticks on a thread reopened within ten minutes (pingdotgg/t3code#29814) #228) were incomplete.Solution
RpcError::Closed/EnvironmentAuthorizationError) for thread stream retries (parity: fix(client-runtime): a thread keeps syncing after a stream defect (pingdotgg/t3code#31071) #272), trackedlast_errorinComposer::Snapshot(composer/mod.rs,composer/view.rs) and emittedAppEvent::Thread+ recovery clearing onStreamError, avoided redundant visible-item visibility work on status updates (parity: perf(shared): avoid redundant visibility work on status updates (pingdotgg/t3code#28965) #223), and markedTV-STREAMdoneinapps/native/parity/LEDGER.md(with#187removed toTR-MEDIA).deferWork=1), serialized history/work merges (history_merge_lockacrossfetch_history_page,fetch_side_history_page,load_earlier_through, andload_deferred_work),view=work/throughEntryIdpaging,reconcilePendingWork(GET_TURN_ITEMconcurrency 4 +ThreadState::settle_turn_items),ThreadViewtriggers (load_earlier_throughon find/citations andtoggle_run/toggle_attemptdeferred-work fetch), and expanded foldWorkHistorySkeleton+ inline"Couldn't load work. Click to retry."state without collapsing on click.palette/mod.rs), visibility-gated side-chat visits (side_chat/pane.rs), active-thread watermark readiness gating (sidebar/controller.rs), and legacy-server local watermarks + one-time migration (core/src/sidebar/visits.rs,app_state.rs). MarkedTV-WATERMARKandTV-HISTORYdoneinapps/native/parity/LEDGER.md.Visual Evidence (1440x900 offscreen
--snapshot)Verification (
da77aa408a5e7bce5563f9f9acba2cb078c9c653)cargo test -p t3-core -p t3-client:t3_client108 passed,t3_core1339 passed,conformance8 passed (0 failed)cargo clippy --workspace --all-targets -- -D warnings: passed (0 warnings/errors)t3-nativesuites (--features snapshot,--test-threads=1, isolated tempT3_NATIVE_HOMEoverthread_view::,transcript::,app_state::,side_chat::,palette::,sidebar::,composer::): 104 passed, 0 failed (76 other tests filtered out)node --test apps/native/parity/sync.test.ts: 42 passed, 0 failedvp fmt --check apps/native/parity/LEDGER.md: exited 0gen-theme.ts --check,conformance/generate.ts --check): failed in worktree (MODULE_NOT_FOUNDdue to nonode_modulesin worktree); theme files are untouched and Rustconformance(8/8) passes.Implemented with Gemini / Antigravity.