Skip to content

Fix remote message identity and mobile lifecycle recovery - #543

Merged
tallcode merged 1 commit into
mainfrom
codex/remote-history-lifecycle-fix
Sep 10, 2026
Merged

tallcode merged 1 commit into
mainfrom
codex/remote-history-lifecycle-fix

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Mobile prompts could be suppressed when their text matched an earlier prompt, and live events could duplicate or misplace messages during Desktop history refresh. Agent user events now carry the persisted entry and run identities; Desktop and Mobile share identity-based insertion and reconciliation, including attachment-only prompts and events arriving after their replies.

Android could remain disconnected after waking offline because its app-active flag was never restored. App and network availability are now independent inputs, and obsolete recovery probes cannot block or replace a newer connection. Reconnect also refreshes settled history; disjoint history pages reset their cursor so missing exchanges remain reachable without moving cached old messages to the tail.

Validation

  • Synced the isolated branch with current origin/main.
  • Agent cargo fmt and Clippy, all targets with warnings denied.
  • Desktop and Mobile ESLint and TypeScript checks.
  • Formatting checks for changed Mobile files and the shared helper; git diff checks.
  • Development regression checks passed: 534 Mobile tests, 59 targeted Desktop tests, and the Agent event projection end-to-end test.
  • Final-branch test suites are delegated to GitHub Actions. Android screen-off/on device acceptance is not yet run.

@tallcode
tallcode enabled auto-merge (squash) September 10, 2026 09:48
@tallcode
tallcode merged commit 411412b into main Sep 10, 2026
12 checks passed
@tallcode
tallcode deleted the codex/remote-history-lifecycle-fix branch September 10, 2026 09:52
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