Skip to content

revert(mobile): pull the relay connect-speed mobile pass pending a smaller, verified re-land - #19348

Merged
Jinwoo-H merged 6 commits into
mainfrom
revert/mobile-connect-pass
Sep 7, 2026
Merged

Jinwoo-H merged 6 commits into
mainfrom
revert/mobile-connect-pass

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 28 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​202 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3441 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3239
Prod 47 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​454 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1924 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1470

Why

Five mobile PRs from the relay connect-speed work (#19280, #19308, #19260, #19281, #19245) landed on main on 2026-09-07. Six review rounds since then kept finding real defects in them and in their follow-up fixes, and the follow-ups themselves needed follow-ups: the liveness watchdog policy alone went through four different rules. That pattern says the code is not ready, not that it needs another round. None of it has shipped: the latest mobile release (mobile-android-v0.0.48) predates all five.

This revert returns mobile/ to exactly its state before the first of those PRs so no mobile release can pick up unverified reconnect behaviour. The desktop and relay-side fixes from the same effort (#19233, #19238, #19307) are unaffected and stay on main.

What

Five plain git reverts in reverse merge order, each applied cleanly with no conflicts:

git diff e628090ad4^ HEAD -- mobile/ is empty. No file outside mobile/ changes: the react-doctor suppression #19260 added covers a timer pattern that predates it, so it is kept.

Verification

  • pnpm vitest run mobile/src: 31 failures across 9 files, byte-identical to the same run on a detached origin/main checkout (all pre-existing, unrelated: onboarding, quick actions, host card, autocreate). Zero new failures.
  • mobile/ tsc --noEmit clean, oxlint mobile/src clean.

Follow-up

The three open mobile follow-up PRs (#19323, #19324, #19325) fix bugs inside the reverted code and are closed with this. Any re-land will be one narrow, independently testable change at a time, verified on a device against real AppState flaps before merge, not against reviewer-constructed timelines.

@coderabbitai

coderabbitai Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 5 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: b923646b-e57b-4525-ab36-5afd45b848c6

📥 Commits

Reviewing files that changed from the base of the PR and between 1d1b73c and fbef3f8.

📒 Files selected for processing (75)
  • mobile/src/cache/session-tab-strip-cache.test.ts
  • mobile/src/cache/session-tab-strip-cache.ts
  • mobile/src/components/HostProtocolGate.test.ts
  • mobile/src/components/HostProtocolGate.tsx
  • mobile/src/components/codex-reset-credit-capability.test.ts
  • mobile/src/components/codex-reset-credit-capability.ts
  • mobile/src/diagnostics/connection-diagnostics-report.test.ts
  • mobile/src/diagnostics/connection-diagnostics-report.ts
  • mobile/src/diagnostics/connection-log-timing-summary.ts
  • mobile/src/session/MobileSessionActiveContent.tsx
  • mobile/src/session/MobileSessionHeader.tsx
  • mobile/src/session/TerminalEnginePrewarm.test.ts
  • mobile/src/session/TerminalEnginePrewarm.tsx
  • mobile/src/session/mobile-session-frame-styles.ts
  • mobile/src/session/mobile-session-reconnect-view-state.test.ts
  • mobile/src/session/mobile-session-reconnect-view-state.ts
  • mobile/src/session/mobile-session-route-parity.test.ts
  • mobile/src/session/mobile-session-route-source-family.test-support.ts
  • mobile/src/session/mobile-session-startup-parallelism.test.ts
  • mobile/src/session/mobile-session-startup-source.test.ts
  • mobile/src/session/mobile-session-tab-strip-entries.ts
  • mobile/src/session/terminal-prewarm-frame-geometry.test.ts
  • mobile/src/session/terminal-prewarm-refit-debt.test.ts
  • mobile/src/session/use-mobile-session-controller.ts
  • mobile/src/session/use-mobile-session-foundation.ts
  • mobile/src/session/use-mobile-session-presentation.ts
  • mobile/src/session/use-mobile-session-startup.ts
  • mobile/src/session/use-mobile-session-tab-reconciliation.ts
  • mobile/src/session/use-mobile-session-tab-strip-cache.ts
  • mobile/src/session/use-mobile-session-terminal-subscription-foundation.ts
  • mobile/src/transport/connection-log-buffer.test.ts
  • mobile/src/transport/connection-state-dwell-log.test.ts
  • mobile/src/transport/direct-connection-log.ts
  • mobile/src/transport/direct-rpc-client.ts
  • mobile/src/transport/host-removal-lifecycle.test.ts
  • mobile/src/transport/host-removal-lifecycle.ts
  • mobile/src/transport/host-status-gates.ts
  • mobile/src/transport/mobile-direct-return-probe.test.ts
  • mobile/src/transport/mobile-direct-return-probe.ts
  • mobile/src/transport/mobile-endpoint-lifecycle.ts
  • mobile/src/transport/mobile-endpoint-reconnect-race.test.ts
  • mobile/src/transport/mobile-endpoint-supervisor-contract.ts
  • mobile/src/transport/mobile-endpoint-supervisor-direct-probe.test.ts
  • mobile/src/transport/mobile-endpoint-supervisor-test-fakes.ts
  • mobile/src/transport/mobile-endpoint-supervisor.test.ts
  • mobile/src/transport/mobile-endpoint-supervisor.ts
  • mobile/src/transport/mobile-relay-background-grace.ts
  • mobile/src/transport/mobile-relay-credential-refresh.ts
  • mobile/src/transport/mobile-relay-credential-rotation.ts
  • mobile/src/transport/mobile-relay-direct-grace-timer.ts
  • mobile/src/transport/mobile-relay-e2ee-link.test.ts
  • mobile/src/transport/mobile-relay-lost-race-damper.ts
  • mobile/src/transport/mobile-relay-rpc-session-liveness.test.ts
  • mobile/src/transport/mobile-relay-rpc-session.test.ts
  • mobile/src/transport/mobile-relay-rpc-session.ts
  • mobile/src/transport/mobile-relay-runtime-failover.test.ts
  • mobile/src/transport/mobile-relay-session-establisher.ts
  • mobile/src/transport/monotonic-clock.ts
  • mobile/src/transport/persisted-connection-log-store.test.ts
  • mobile/src/transport/persisted-connection-log-store.ts
  • mobile/src/transport/relay-dial-stage-log.ts
  • mobile/src/transport/relay-dial-stage-timings.test.ts
  • mobile/src/transport/relay-dial-stage.ts
  • mobile/src/transport/relay-recovery-intent-queue.ts
  • mobile/src/transport/relay-session-liveness-profile.ts
  • mobile/src/transport/rpc-client-connection-state.ts
  • mobile/src/transport/rpc-client-log-redaction.test.ts
  • mobile/src/transport/rpc-session-liveness-watchdog.test.ts
  • mobile/src/transport/rpc-session-liveness-watchdog.ts
  • mobile/src/transport/runtime-capability-probe.test.ts
  • mobile/src/transport/runtime-capability-probe.ts
  • mobile/src/transport/types.ts
  • mobile/src/transport/unpaired-host-credential-deletion.test.ts
  • mobile/src/transport/unpaired-host-credential-deletion.ts
  • mobile/src/worktree/home-host-worktree-fetch.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Clean 5-commit revert of the mobile relay connect-speed pass — mobile/ is restored byte-exactly to the tree before #19280 (git diff e628090ad4^ HEAD -- mobile/ is empty), so no release can pick up unverified reconnect behavior. Scope is exactly 76 files: 75 under mobile/ plus one config script.
  • react-doctor suppression removal — dropping the file-level react-doctor(effect-needs-cleanup) entry for use-mobile-session-startup.ts is the exact inverse of what #19260 added, and is safe: the reverted code still carries the inline // react-doctor-disable-next-line directive at mobile/src/session/use-mobile-session-startup.ts:99, so the changed-code quality gate stays green.

The revert restores a state that previously shipped and CI-passed, and the only out-of-mobile/ change is a correct inverse of #19260's suppression entry. Desktop/relay fixes (#19233, #19238, #19307) are correctly left on main, and the open follow-ups (#19323, #19324, #19325) were never merged. Nothing to flag.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

The pattern it covers (a variable number of timers cleared through one cleanup)
predates #19260 and is unchanged by the revert; dropping the entry only re-exposed
a pre-existing finding to the changed-code gate.
@Jinwoo-H
Jinwoo-H merged commit d936d8d into main Sep 7, 2026
22 checks passed
@Jinwoo-H
Jinwoo-H deleted the revert/mobile-connect-pass branch September 7, 2026 20:44
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