Skip to content

chore(mobile): align the Expo SDK 56 native module batch - #6455

Merged
saddlepaddle merged 1 commit into
mainfrom
chore/mobile-dep-bumps
Aug 13, 2026
Merged

saddlepaddle merged 1 commit into
mainfrom
chore/mobile-dep-bumps

Conversation

@saddlepaddle

@saddlepaddle saddlepaddle commented Aug 13, 2026 •

Copy link
Copy Markdown
Member

Brings the mobile app's Expo packages to the versions the installed SDK expects, plus react-native-screens 4.25.2 → 4.26.0. Done now, ahead of the App Store build, while there are no users to regress.

Why this is a batch, not a version list

An Expo module built against a newer expo-modules-core than the installed one crashes at launch with a DYLD Symbol not found SIGABRT, and core patches also drop symbols older precompiled modules need — the skew breaks in both directions.

Running expo install --fix on its own produced exactly that broken pairing: bun's 3-day minimumReleaseAge held expo-modules-core at 56.0.15 while letting expo-media-library move to 56.0.10. Shipping that would have bricked the app on first launch.

So the batch is excluded from the release-age floor, which lets it resolve together. Every version is pinned exact in package.json, so the exclusion affects resolution only, never drift. It's dated in bunfig.toml and can be deleted after 2026-08-16, once the versions clear the floor on their own (a one-shot automation is scheduled to do that and open a follow-up PR).

Deliberately not taken from expo install --fix

  • It rewrote the exact pins as ~ ranges; this repo sets exact = true.
  • It wanted to downgrade @shopify/flash-list 2.3.2 → 2.0.2, which FilesChangedScreen depends on. Kept at 2.3.2.

Verification

Native rebuild and cold launch on an iOS 26 simulator, since the DYLD failure mode only shows up in a real build:

  • No new crash reports (baseline held at 8), so the batch pairing is sound.
  • Session restore, home screen, and the attachments sheet with photo-library access all work.
  • lint clean, typecheck 37/37, test 16/16, sherif warnings unchanged from baseline.

On the carousel

4.26.0 was the TODO's proposed fix for SUPER-1199. It does not fix it — reproduced on this branch (which lacks #6449's change) with tiles still painting at ~60% height, and react-native-screens still emitting FormSheet with ScrollView expects at most 2 subviews. #6449 remains necessary.


Summary by cubic

Aligns the mobile app’s Expo SDK 56 native modules to the installed SDK’s same-day versions and bumps react-native-screens to 4.26.0 to prevent DYLD launch crashes from expo-modules-core skew.

Review and rollout notes

  • Temporarily excludes the Expo module batch from bun’s minimumReleaseAge in bunfig.toml so expo packages resolve together; remove this block after 2026-08-16.
  • Keeps exact package.json pins (no ~ ranges) and avoids the expo install --fix-suggested downgrade of @shopify/flash-list, which FilesChangedScreen uses.
  • Verified with a native rebuild and cold launch on iOS; lint/typecheck/tests pass.
  • The react-native-screens update does not resolve SUPER-1199 (attachments carousel issue); that fix remains separate.

Written for commit 8e2148f. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Chores
    • Updated mobile app packages to newer Expo, navigation, UI, and screen-management versions.
    • Adjusted package resolution settings to support the coordinated native-module update.

Bumps the mobile app's Expo packages to the versions the installed SDK
expects, plus react-native-screens 4.25.2 -> 4.26.0.

These have to move as one batch. An Expo module built against a newer
expo-modules-core than the installed one crashes at launch with a DYLD
"Symbol not found" SIGABRT, and core patches also drop symbols older
precompiled modules need, so skew breaks in both directions. Running
`expo install --fix` alone produced exactly that broken pairing: bun's
3-day minimumReleaseAge held core at 56.0.15 while letting
expo-media-library move to 56.0.10. The batch is excluded from the
release-age floor so it resolves together; every version is pinned exact,
so the exclusion affects resolution only, and it can be dropped after
2026-08-16.

Two things `expo install --fix` wanted that are deliberately not taken:
it rewrote exact pins as ~ ranges (the repo sets exact = true), and it
wanted to downgrade @shopify/flash-list 2.3.2 -> 2.0.2, which
FilesChangedScreen depends on.

Verified on an iOS 26 simulator: native rebuild, cold launch with no new
crash reports (the DYLD risk), session restore, home, and the attachments
sheet with photo library access. lint, typecheck (37/37), and tests
(16/16) pass.

Note: 4.26.0 does NOT fix the attachments carousel frame corruption
(SUPER-1199) — reproduced on this branch without the fix from #6449, and
react-native-screens still emits its "FormSheet with ScrollView expects at
most 2 subviews" warning. That fix is still required.
@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The mobile app upgrades Expo SDK 56 packages and react-native-screens. Bun configuration adds release-age exclusions for the Expo native-module batch.

Changes

Expo SDK 56 alignment

Layer / File(s) Summary
Update Expo dependencies and resolver exclusions
apps/mobile/package.json, bunfig.toml
The mobile app upgrades Expo packages and react-native-screens. Bun allows the pinned native-module batch to resolve before the three-day release-age threshold.

Estimated code review effort: 2 (Simple) | ~10 minutes

Mergeability Score: 🔵 Low · up to 8e214

The PR updates the Expo native-module batch and temporarily excludes it from Bun’s release-age gate. It is mergeable with owner awareness, but two Expo dependencies remain ranged rather than exact and the August 16, 2026 exception removal is documented rather than enforced, leaving bounded dependency-drift and supply-chain-control follow-up.

Possibly related PRs

Suggested reviewers: kitenite

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title uses conventional commit format and clearly describes the Expo SDK 56 native module alignment.
Description check ✅ Passed The description explains the changes, rationale, testing, rollout timing, and known limitation; the required checklist section is omitted.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/mobile-dep-bumps

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.

@coderabbitai coderabbitai 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.

🔇 Additional comments (2)
bunfig.toml (1)

16-44: 🔒 Security & Privacy | 🔵 Trivial | ⚡ Quick win

⚠️ Unverified finding
Sandbox verification was unavailable.

Make the temporary release-age exception self-expiring.

minimumReleaseAgeExcludes exempts package names from the age check. It has no expiry field. The comment documents removal after August 16, 2026, but no automation enforces that date. Bun documents this setting as a package-name exemption, not a time-limited exception. (bun.sh)

Add a CI check that fails on August 17, 2026 while these Expo entries remain. This prevents the three-day supply-chain age gate from staying disabled indefinitely.

Suggested expiry guard
apps/mobile/package.json (1)

67-95: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Tighten the Expo batch's dependency controls.

  • expo-blur and expo-haptics still use ~56.0.3, so they can resolve to later SDK 56 patches despite the PR's exact-pin batch guarantee. Pin them exactly or document why they are excluded.
  • Run a frozen Bun install and confirm the committed bun.lock matches apps/mobile/package.json with no unresolved peer warnings.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 925c0ac8-7a5a-4f21-9d8f-cc9e84d13117

📥 Commits

Reviewing files that changed from the base of the PR and between b1cf240 and 8e2148f.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • apps/mobile/package.json
  • bunfig.toml

@github-actions

github-actions Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

@saddlepaddle
saddlepaddle merged commit db3e053 into main Aug 13, 2026
28 of 29 checks passed

This branch was previously deployed

1 inactive deployment
preview — 8e2148fc Deployed Aug 13, 2026 by saddlepaddle via Deploy Web #7687
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