Skip to content

fix(mobile): isolate remote previews and retire stale async results - #604

Merged
huichen merged 1 commit into
mainfrom
claude/mobile-audit
Sep 13, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/mobile-audit

Conversation

@huichen

@huichen huichen commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Audit mobile lifecycle, credentials, replay/outbox and Desktop Remote command/file boundaries; include a scoped audit report with explicit remaining risks and device-test gaps.
  • Scope preview metadata by client and session, retain bounded metadata across the initial download, and revalidate mutable Markdown links by default.
  • Cancel late prepare results; reject malformed download sizes/chunks before writing; prevent cancelled/unmounted downloads and iOS modal handoffs from reopening stale UI.
  • Ignore old Desktop approval replies and stale attachment preparation after navigation.
  • No Desktop Rust or wire-contract changes.

Validation

  • Windows worktree, Node 24.21.0 (CI major): TypeScript noEmit and ESLint passed.
  • Full mobile Jest suite: 81 suites / 1023 tests passed, including 20 added regression cases.
  • git diff --check passed.
  • Native Android/iOS builds, real devices and live NATS/platform fault injection not performed. Existing React act warnings remain documented.

Follow-up findings

The audit report records Android share-copy limits, title-override convergence, temporary-file lifecycle and test-warning cleanup as follow-ups, not as fixed or verified outcomes.

Report: docs/verification/mobile-desktop-audit-2026-09-14.md

@huichen
huichen enabled auto-merge (squash) September 13, 2026 16:46
@huichen
huichen merged commit 617a7da into main Sep 13, 2026
12 checks passed
@huichen
huichen deleted the claude/mobile-audit branch September 13, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant