Skip to content

fix(mobile): bound share IO, reconcile titles and reclaim temporary files - #606

Merged
huichen merged 2 commits into
mainfrom
claude/mobile-audit-followup
Sep 13, 2026
Merged

huichen merged 2 commits into
mainfrom
claude/mobile-audit-followup

Conversation

@huichen

@huichen huichen commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follow up the remaining findings from #604:

  • Enforce Android share limits during copying (25 MiB/file, 50 MiB attempted bytes/batch, 10 attempted files), closing streams and removing incomplete files on failures. Composer quotas remain unchanged.
  • Retire temporary title overlays using confirming pushes or freshness reads, with reference/version fencing against pre-rename and stale responses.
  • Await all batch conversions and clean newly-created outputs on failure without deleting input files or existing drafts.
  • Use independent named export copies, a 24-hour retention window and 100 MiB/128-entry bounds; refuse capacity overflow rather than evicting recent OS handoffs.
  • Fix unawaited/nested act lifecycles in connection/catalog tests and assert no console.error without suppressing output.
  • Add JVM IO regression tests and a path-scoped CI workflow; update the audit report.

Validation

  • Windows x64, Node 24.21.0: TypeScript, ESLint, full Jest suite passed (81 suites / 1040 tests, 15 new cases).
  • Java 17.0.20.1: 9 actual filesystem/stream IO tests passed using scripts/test-mobile-share-io.py.
  • git diff --check passed.
  • Native Android/iOS builds, Kotlin/ContentResolver integration and physical device tests not performed. JVM tests are not claimed as a full APK build.

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

@huichen
huichen enabled auto-merge (squash) September 13, 2026 23:46
@huichen
huichen merged commit 49592c7 into main Sep 13, 2026
13 checks passed
@huichen
huichen deleted the claude/mobile-audit-followup branch September 13, 2026 23: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