Repository navigation
fix: archive confirm counts side chat queues; remove /t3-archive and mobile trims - #306
Merged
Merged
Conversation
Archiving takes a thread's side chats and discards their queued messages. Every archive entry point now sums the side chats' queued counts from the held shells and confirms, including archive when done. The /t3-archive composer command is removed on web and mobile.
… the image picker patch
The web hook cached the unread set on the projection, so the reveal timer restarted on every streaming update; both hooks now key it on content.
A confirmed archive does nothing if its action changed and asks again if a queue grew. Mobile replays archive-now only over the thread's own confirmed queue. The prompt says a side chat with a running delegated task stays open.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
Archiving a thread also archives its side chats and discards their queued messages. The archive confirmation counted only the thread's own queue. This PR also carries the mobile and cross-client trims from audit batch 2.
F4: the discard confirmation counts side chats. The client-runtime rule
archiveDiscardedQueuedMessagesadds thequeuedMessageCountof the unarchived side chats the client holds. The server never trims side chats from shell snapshots, so this works online and offline (cached shells). WebattemptArchiveThreadand mobilearchiveThreadconfirm whenever messages would be discarded, including archive when done. The wording names the side-chat share. After the dialog, both clients re-read: a changed action does nothing, and a larger discard asks again. Mobile replays archive-now only over the thread's own confirmed queue. The count is an upper bound: the server skips a side chat with a running app-owned delegated task, and the shell cannot tell that task apart. The prompt says so.F7:
/t3-archiveremoved from the shared parser, web send path and slash menu, mobile composer and slash menu, docs and README. This also removes the mobile slash command that bypassed the outbox and the approval order. Menus, palette, shortcut, swipe and MCP archive remain.T8: dropped the unreachable
UIImagePickerControllerhunk frompatches/expo-image-picker@58.0.10.patch. The patch was regenerated against the pristine 58.0.10 package (checked against the registry tarball) and reproduces the installed tree. The PHPicker dismissal and overlap guard stay. The lockfile hash was updated, and--frozen-lockfilepasses. Needs an iOS native rebuild.T9 (partly skipped): the Snoozed/Settled shelf keys and their decoders are upstream lines, so deleting them would remove upstream code and grow the fork diff. Instead, the fork's relocation of those keys was reverted to upstream's layout: −25 diff lines, no behavior change.
T15 (skipped): a single replication owner grows the fork diff by 17 lines at minimum (733 → 750). The duplicate writes are idempotent.
T16: the steer reveal logic is shared in client-runtime (fork diff 356 → 338). Each client keeps a thin hook that caches the unread set on a string key. The web hook used to key it on the projection, so the reveal timer restarted on every streaming update.
T25: the mobile extras-settings test now keeps only the quantization case.
Checks:
vp check,vp run typecheck,vp run i18n:check,vp run lint:mobile, and focused tests in client-runtime, shared, web and mobile. Two review rounds (Astra, Opus): findings fixed.Implemented by Claude Opus 5.5 in Claude Code (T3 Code).