Skip to content

deps: expo-modules-core is pinned 4 patches below what expo bundles, and the old gate could never see it #916

Closed

Description

@thinkclay

Surfaced by the new skew check in #917, which reads the bundled-modules manifest from the installed expo package rather than asking the registry.

• expo-modules-core is held at 56.0.22 by a pnpm override; expo bundles ~56.0.26.

This is the #683 shape

#683 was expo-image 56.0.9 against expo-modules-core 56.0.22 — two (undefined) external Swift symbols in the shipped binary, caught by Apple's Mac-compatibility check at delivery rather than by anything in CI. The package on the wrong side of that mismatch was expo-modules-core, and it is on the wrong side again:

installed 56.0.22 (exact, via pnpm.overrides)
[email protected] bundles ~56.0.26
[email protected] bundled ~56.0.25

Note the third row: this predates #908. The catalog bump to [email protected] widened the gap by one patch, it did not create it. The pin has been below the bundled version for at least two expo releases.

Why the old gate never reported it

expo install --check only inspects the direct dependencies listed in apps/scaffald/package.json. expo-modules-core is not one — it is a transitive dependency held in place by a root pnpm.overrides entry, mirrored in the catalog per #501:

# Mirrors the pnpm override of the same name; the override outranks this, so
# they must move together or this line silently means nothing (#501).
expo-modules-core: 56.0.22

So the check that existed to prevent #683 structurally could not see the package #683 was about. Worth sitting with: the gate was green on exactly the condition it was added for.

Why #917 reports rather than fails on it

A pnpm.overrides entry is an explicit human decision that outranks the catalog. The check treats override-pinned skew as acknowledged and prints it; unpinned skew — Dependabot drifting one package — still fails hard. Turning a pre-existing deliberate pin into a hard failure would have replaced one spurious blocker with another, which is the thing #907 was about.

What needs deciding

The pin's origin is not documented. git log -S points at 21825eee9 feat(drawer): replace expo-router/drawer with custom Animated drawer, and the Reanimated/Worklets version matrix from that work is the likely reason — but that is inference, not a record.

Not urgent, but not nothing

Nothing is currently broken that we know of. The reason to act is that this is the one failure class in this repo that CI provably cannot catch, it has already shipped once, and the pin is now drifting further from the bundled set with each expo patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions