Skip to content

Revert mobile push rollout pending delivery investigation - #20040

Merged
Jinwoo-H merged 1 commit into
mainfrom
revert/mobile-push-rollout
Sep 11, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
revert/mobile-push-rollout

Conversation

@Jinwoo-H

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

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 39 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2093 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2916 $\color{#cf222e}{\Huge{\mathbf{−}}}$​823
Prod 65 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2200 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3117 $\color{#cf222e}{\Huge{\mathbf{−}}}$​917

Reverts #19951 to pause the mobile push rollout while Android delivery reliability is investigated. Restores the previous mobile notification implementation, including the prior settings and release configuration.

The separately merged cloud and desktop PRs remain in place. This also reverts the small pane-routing additions that shipped inside #19951. No cloud redeployment is required for this rollback.

Validation: mobile typecheck; 527 mobile test files passing (4,329 tests passed, 3 skipped); 17 desktop notification tests passed; commit lint and formatting checks passed.

@greptile-apps

greptile-apps Bot commented Sep 11, 2026

Copy link
Copy Markdown

Too many files changed for review (104 files, 100 file limit).

Bypass the limit by tagging @greptile-apps to review.

@Jinwoo-H
Jinwoo-H merged commit e187c82 into main Sep 11, 2026
13 checks passed
@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 1b8d701f-b7fc-4620-8c9d-a67d5c5506c6

📥 Commits

Reviewing files that changed from the base of the PR and between 1113df6 and a359825.

⛔ Files ignored due to path filters (2)
  • mobile/assets/notification-icon.png is excluded by !**/*.png
  • mobile/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (102)
  • .github/workflows/mobile-ios-release.yml
  • .github/workflows/mobile.yml
  • cloud/apps/push/src/push-delivery-message.ts
  • cloud/apps/push/src/push-pane-routing.test.ts
  • cloud/packages/push-contract/src/send-messages.ts
  • docs/site/content/docs/mobile.mdx
  • docs/site/content/docs/notifications.mdx
  • mobile/app.config.js
  • mobile/app.json
  • mobile/app/_layout.tsx
  • mobile/app/mobile-onboarding.tsx
  • mobile/app/notifications.tsx
  • mobile/google-services.json
  • mobile/modules/orca-notification-dismissal/expo-module.config.json
  • mobile/modules/orca-notification-dismissal/ios/OrcaNotificationDismissal.podspec
  • mobile/modules/orca-notification-dismissal/ios/OrcaNotificationDismissalModule.swift
  • mobile/modules/orca-notification-dismissal/ios/OrcaNotificationDismissalSubscriber.swift
  • mobile/modules/orca-notification-dismissal/ios/PushDismissalLedger.swift
  • mobile/modules/orca-notification-dismissal/package.json
  • mobile/modules/orca-notification-dismissal/tests/PushDismissalLedgerChecks.swift
  • mobile/package.json
  • mobile/patches/[email protected]
  • mobile/pnpm-workspace.yaml
  • mobile/src/home/use-mobile-home-host-connections.ts
  • mobile/src/notifications/NotificationDeliverySection.test.tsx
  • mobile/src/notifications/NotificationDeliverySection.tsx
  • mobile/src/notifications/desktop-notification-channel.test.ts
  • mobile/src/notifications/desktop-notification-channel.ts
  • mobile/src/notifications/desktop-notification-events.ts
  • mobile/src/notifications/expo-native-token-retry.test.ts
  • mobile/src/notifications/local-notification-scheduling.ts
  • mobile/src/notifications/mobile-notifications.test.ts
  • mobile/src/notifications/mobile-notifications.ts
  • mobile/src/notifications/mobile-push-lease-renewal.test.ts
  • mobile/src/notifications/mobile-push-lease-renewal.ts
  • mobile/src/notifications/native-notification-data.test.ts
  • mobile/src/notifications/native-notification-data.ts
  • mobile/src/notifications/native-push-dismissal.ios.ts
  • mobile/src/notifications/native-push-dismissal.test.ts
  • mobile/src/notifications/native-push-dismissal.ts
  • mobile/src/notifications/notification-catchup-failure-quarantine.test.ts
  • mobile/src/notifications/notification-consent-ownership.test.ts
  • mobile/src/notifications/notification-delivery-ordering.test.ts
  • mobile/src/notifications/notification-delivery-preferences.test.ts
  • mobile/src/notifications/notification-delivery-preferences.ts
  • mobile/src/notifications/notification-opt-in-gate.test.ts
  • mobile/src/notifications/notification-opt-in-gate.ts
  • mobile/src/notifications/notification-reconnect-catchup.ts
  • mobile/src/notifications/notification-reconnect-teardown.test.ts
  • mobile/src/notifications/notification-routing.test.ts
  • mobile/src/notifications/notification-routing.ts
  • mobile/src/notifications/notification-viewing-policy.ts
  • mobile/src/notifications/notification-watermark-seed-race.test.ts
  • mobile/src/notifications/push-background-dismissal.test.ts
  • mobile/src/notifications/push-background-dismissal.ts
  • mobile/src/notifications/push-dismissal-native-races.test.ts
  • mobile/src/notifications/push-dismissal-reconciliation.test.ts
  • mobile/src/notifications/push-dismissal-reconciliation.ts
  • mobile/src/notifications/push-dismissal-watermarks.test.ts
  • mobile/src/notifications/push-dismissal-watermarks.ts
  • mobile/src/notifications/push-host-fingerprint.test.ts
  • mobile/src/notifications/push-host-fingerprint.ts
  • mobile/src/notifications/push-notification-identity.test.ts
  • mobile/src/notifications/push-notification-identity.ts
  • mobile/src/notifications/push-payload.ts
  • mobile/src/notifications/push-preference-update.test.ts
  • mobile/src/notifications/push-receive.test.ts
  • mobile/src/notifications/push-receive.ts
  • mobile/src/notifications/push-registration-cancellation.test.ts
  • mobile/src/notifications/push-registration.test.ts
  • mobile/src/notifications/push-registration.ts
  • mobile/src/notifications/push-socket-dismissal.test.ts
  • mobile/src/notifications/push-socket-dismissal.ts
  • mobile/src/notifications/push-token.test.ts
  • mobile/src/notifications/push-token.ts
  • mobile/src/notifications/push-tray-dismissal.test.ts
  • mobile/src/notifications/push-tray-dismissal.ts
  • mobile/src/notifications/use-remote-push-capable-hosts.test.tsx
  • mobile/src/notifications/use-remote-push-capable-hosts.ts
  • mobile/src/onboarding/MobileOnboardingPage.tsx
  • mobile/src/onboarding/mobile-onboarding-screen.test.ts
  • mobile/src/onboarding/mobile-onboarding-styles.ts
  • mobile/src/session/mobile-session-route-parity.test.ts
  • mobile/src/session/mobile-session-route.ts
  • mobile/src/session/use-mobile-session-controller.ts
  • mobile/src/session/use-notification-pane-navigation.test.tsx
  • mobile/src/session/use-notification-pane-navigation.ts
  • mobile/src/settings/native-notification-delivery-settings.test.tsx
  • mobile/src/settings/native-notification-delivery-settings.tsx
  • mobile/src/settings/native-notification-settings-operations.ts
  • mobile/src/settings/notification-settings-screen.tsx
  • mobile/src/storage/preferences.test.ts
  • mobile/src/storage/preferences.ts
  • mobile/src/transport/host-removal-lifecycle.test.ts
  • mobile/src/transport/host-removal-lifecycle.ts
  • mobile/src/transport/runtime-capability-probe.ts
  • src/main/ipc/notifications-mobile-fanout.test.ts
  • src/main/ipc/notifications.ts
  • src/main/runtime/push/push-dispatcher.test.ts
  • src/main/runtime/push/push-dispatcher.ts
  • src/main/runtime/push/push-gateway-client.ts
  • src/main/runtime/runtime-mobile-notification-controller.ts

📝 Walkthrough

Walkthrough

The mobile notification system now uses local scheduling and reconnect catch-up watermarks instead of remote push registration and native dismissal reconciliation. Notification payloads and routes no longer carry paneKey. Legacy push modules, native integrations, preferences, tests, and build configuration were removed. Consent now persists locally. Documentation and workflow checks were updated.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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

  • Native push path removed — strips the APNs/FCM registration, delivery, and dismissal machinery from the mobile app (push-registration, push-token, push-receive, push-background-dismissal, the orca-notification-dismissal iOS module, google-services.json, app.config.js, and the expo-notifications patch).
  • Prior socket-driven notifications restored — brings back local-notification-scheduling.ts, notification-reconnect-catchup.ts, and the restored mobile-notifications.ts, with the previous settings, onboarding consent, and orca:pushNotificationsEnabled preference key.
  • paneKey pane-routing reverted — removes the field from the cloud push contract (.strict() schema), gateway delivery, desktop fan-out/dispatcher, and mobile session routing.

I verified this is a faithful revert: git diff d33354cfd^..HEAD over the mobile notifications/app/modules paths is empty (exact restoration of the pre-#19951 state), the only cloud/desktop divergence from pre-#19951 is push-registration-rpc.test.ts (the unrelated later #20016 refactor, correctly preserved), and a repo-wide grep finds no dangling references to any removed module or symbol. The mobile-session-route-parity.test.ts hook hashes and count (267→266) were updated to match the paneKey removal.

One thing worth keeping on the radar for the follow-up investigation: the cloud source now drops paneKey from the strict send schema while the deployed gateway still accepts it. That's safe for this rollback direction (the reverted desktop stops sending it), but the next unrelated cloud deploy will tighten the schema and reject paneKey from any desktop still on the #19951 build — not a concern here since that build was ad hoc, just noting the eventual divergence between cloud source and deployment.

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

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