fix(mobile): confirm host revoke and keep the model on refetch failure - #6758
Merged
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (86 files)
Previous Review Summary (commit 80fdc48)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 80fdc48)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)CRITICAL
Files Reviewed (3 files)
Reviewed by deepseek-v4.1-flash · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
iscekic
marked this pull request as draft
September 28, 2026 08:40
iscekic
marked this pull request as ready for review
September 28, 2026 08:44
iscekic
marked this pull request as draft
September 28, 2026 08:52
iscekic
marked this pull request as ready for review
September 28, 2026 09:01
iscekic
marked this pull request as draft
September 28, 2026 09:05
iscekic
marked this pull request as ready for review
September 28, 2026 09:10
iscekic
marked this pull request as draft
September 28, 2026 09:21
iscekic
marked this pull request as ready for review
September 28, 2026 09:29
pandemicsyn
approved these changes
Sep 28, 2026
This was referenced Sep 27, 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.
Fix proof
A failed background catalogue refetch (remount after staleTime, or reconnect, both default-enabled) sets catalogueError while the models cache is still populated, so the tool-summary translation Model
Asserted value:
apps/mobile/src/components/tool-summary-translation-settings-screen.tsx. Sense check (jev): probability 0.95The scripts were proven on an earlier base, so only the head ran.
Head
d81fb29c4612Head log: backend-assert 9879eb864dd0 exited 0
Revoking a trusted host fires on a single tap of the row's X with no confirmation, while the app's other removal rows (passkeys, device sessions) confirm through a destructive dialog first; the mobile
Asserted value:
apps/mobile/src/components/trusted-hosts-screen.tsx. Sense check (jev): probability 0.95The scripts were proven on an earlier base, so only the head ran.
Head
d81fb29c4612Head log: backend-assert 7477c9a0f53d exited 0
Changelog for users
Changelog for maintainers
E2E proof
A failed background catalogue refetch (remount after staleTime, or reconnect, both default-enabled) sets catalogueError while the models cache is still populated, so the tool-summary translation Model row is blanked to '—' and the picker disabled even though the stored model and loaded catalogue still work; the voice-input sibling keeps its model in the same state.
Code trace:
apps/mobile/src/components/tool-summary-translation-settings-screen.tsx:48 changed in 7004b4b54360db99d523a520e06f45d3b5c06bce. Sense check (jev): probability 0.95Changed lines
Revoking a trusted host fires on a single tap of the row's X with no confirmation, while the app's other removal rows (passkeys, device sessions) confirm through a destructive dialog first; the mobile AGENTS rule requires destructive actions to be confirmed.
Code trace:
apps/mobile/src/components/trusted-hosts-screen.tsx:3 changed in 7004b4b54360db99d523a520e06f45d3b5c06bce. Sense check (jev): probability 0.94Changed lines
Owner request