← Back to Pull requests

chore(deps): upgrade the mobile app to Expo SDK 58 and take redis 6 #486

Closed
unknown closed this pull request without merging on Oct 26, 2026 05:43 UTC
View on GitHub
unknown unknown commented on Oct 26, 2026 04:33 UTC
Author

Follow-up to the dependency PRs #464 and #465, which held back the Expo SDK 58 family and redis 6.

What changes

Expo SDK 58 (apps/mobile)

  • expo and every expo- package to their SDK 58 versions, React Native 0.88.0, react-native-screens ~4.30, react-native-safe-area-context ~5.10, react-native-web ~0.21.4 (all from SDK 58's bundledNativeModules.json; npx expo install --check is clean).

  • React 19.3.0 for web and mobile (the root overrides keep one React, which React Native's renderer needs to match exactly).

  • TypeScript ~6.0.3 and @types/react ~19.3.0 in apps/mobile only, as SDK 58 expects. TypeScript 6 is still inside typescript-eslint's < 6.1 range; web, functions and shared stay on 5.9.

  • React Native 0.88's list types reject null for ListHeaderComponent / ListFooterComponent / ListEmptyComponent, so those props pass undefined (Collection, Manis, Search, color search panel).

  • TypeScript 6 no longer loads @types/node by default, so apps/mobile/tsconfig.json lists "types": ["node"] for the node:test files.

  • SDK 58's project template includes the UIKit scene lifecycle, so the expo-build-properties ios.enableSceneSupport plugin and the package are removed (SDK 58 only warns that the option is no longer needed).
  • redis 6 (packages/functions)

  • redis ^6.3.0. v6 infers the client type from createClient's options, so lib/cache.ts types the client from a small factory instead of ReturnType<typeof createClient>. No behavior change.
  • CI and Dependabot

  • setup-deps finds lightningcss and @tailwindcss/oxide in apps/web/node_modules or the root, so a lockfile that nests the Tailwind tree no longer fails the native-binary step (the failure on #464's first fix).

  • dependabot.yml ignores the majors still held back, with the reason: TypeScript 7 (typescript-eslint supports < 6.1; Functions use moduleResolution: node), @types/node (Node 22 runtime), p-limit 7 (ESM-only, Functions are CommonJS) and ESLint 10 (eslint-plugin-react breaks). @react-native-async-storage/async-storage joins the Expo-pinned native packages.
  • Docs: CLAUDE.md, README.md and apps/mobile/README.md say SDK 58 / RN 0.88.

    Lockfile

    The lockfile is regenerated rather than patched from dev's. Starting from dev's lock left a second React Native (0.86) and the SDK 57 tree hoisted at the root next to the new nested copies, which would load two React Natives. The fresh lock has a single React Native 0.88 and a single Expo 58, keeps lightningcss 1.32.0 and @tailwindcss/oxide 4.3.3 at the root as on dev, and has no invalid or unmet dependencies (npm ls --all). The cost is transitive drift: 251 packages change version, mostly patch/minor (for example typescript-eslint 8.60 → 8.72, eslint 9.39.4 → 9.39.5).

    Verification

    Run locally from a clean install:

  • Lint & typecheck (web, functions, shared), design-token check

  • Mobile: lint, typecheck, tests, expo export for iOS and Android, expo install --check, expo config

  • Builds: web, functions

  • Unit tests: functions, web, shared, mobile

  • CI's own npm ci --ignore-scripts with and without the mobile workspace, plus the new native-package lookup (finds both at the root)
  • Not verified: the app on a device or simulator, and a native iOS/Android build (expo export covers the JS bundle only). Worth a run on a phone before release, especially for expo-router 58, expo-camera (Rapid Add) and auth (expo-auth-session).

    🤖 Generated with Claude Code

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Updates
    Updated the mobile app to Expo SDK 58, React Native 0.88, and React 19.3; updated the web app to React 19.3.
    Improved mobile loading and empty-state handling so empty-state content is shown only when appropriate.
    Updated cache and native styling support for the latest dependency versions.
    Documentation
    * Updated mobile setup and platform guidance for the current Expo SDK.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 520 lines (+390 / -130) across 6 files Reviewer: mattmck Review duration: 69m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.48) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 520 lines diff across 6 files
    0.48
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.374
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #486"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 47.8% (MEDIUM) · Higher = larger blast radius
    47.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.6% · Safe to merge
    20.6%