chore(deps): upgrade the mobile app to Expo SDK 58 and take redis 6 #486
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
mattmck
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)
expoand everyexpo-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'sbundledNativeModules.json;npx expo install --checkis clean).overrideskeep one React, which React Native's renderer needs to match exactly).@types/react~19.3.0 inapps/mobileonly, as SDK 58 expects. TypeScript 6 is still inside typescript-eslint's< 6.1range; web, functions and shared stay on 5.9.nullforListHeaderComponent/ListFooterComponent/ListEmptyComponent, so those props passundefined(Collection, Manis, Search, color search panel).@types/nodeby default, soapps/mobile/tsconfig.jsonlists"types": ["node"]for thenode:testfiles.expo-build-propertiesios.enableSceneSupportplugin 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 fromcreateClient's options, solib/cache.tstypes the client from a small factory instead ofReturnType<typeof createClient>. No behavior change.CI and Dependabot
setup-depsfindslightningcssand@tailwindcss/oxideinapps/web/node_modulesor 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.ymlignores the majors still held back, with the reason: TypeScript 7 (typescript-eslint supports < 6.1; Functions usemoduleResolution: node),@types/node(Node 22 runtime),p-limit7 (ESM-only, Functions are CommonJS) and ESLint 10 (eslint-plugin-react breaks).@react-native-async-storage/async-storagejoins 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
lightningcss1.32.0 and@tailwindcss/oxide4.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:
expo exportfor iOS and Android,expo install --check,expo confignpm ci --ignore-scriptswith 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 exportcovers 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 -->