Skip to content

fix(mobile): preserve turn order when reopening active sessions - #577

Merged
huichen merged 1 commit into
mainfrom
claude/android-session-history-pr
Sep 12, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/android-session-history-pr

Conversation

@huichen

@huichen huichen commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Deduplicate cached messages against durable history by role and run identity, not only entry ID.
  • Prevent the previous live assistant reply from being appended between the newest user prompt and its streaming reply on reopen/reconnect.
  • Add regression coverage for repeated reopen/reconnect, attachment retention, and role/run identity boundaries.

Validation

  • Mobile typecheck and full ESLint passed.
  • All 52 Mobile Jest suites passed (739 tests); Windows testMatch override only corrects path matching.
  • Regression tests reproduced the duplicate assistant before the fix.
  • Android device verification and APK rebuild are not included.

@huichen
huichen enabled auto-merge (squash) September 12, 2026 15:38
@huichen
huichen merged commit 3c3989b into main Sep 12, 2026
12 checks passed
@huichen
huichen deleted the claude/android-session-history-pr branch September 12, 2026 15:40
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