Skip to content

ci: make the Expo dependency check advisory, not a hard gate - #94

Merged
commitchan merged 1 commit into
mainfrom
ci/expo-check-advisory
Jul 30, 2026
Merged

ci: make the Expo dependency check advisory, not a hard gate#94
commitchan merged 1 commit into
mainfrom
ci/expo-check-advisory

Conversation

@commitchan

Copy link
Copy Markdown
Collaborator

Why

npx expo install --check in the Quality checks job exits non-zero whenever Expo ships a patch release within SDK 57 — which happens every few days. Because the job gates on it, every unrelated PR goes red until someone manually runs expo install --fix and merges a bump. That's already happened twice in a week (the repeated "bump Expo SDK 57 patch deps" commits), and it red-lit an otherwise-clean native fix.

What changed

The check still runs (so drift stays visible), but it no longer fails the job: on drift it emits a GitHub ::warning:: annotation instead of exiting 1.

- - name: Check Expo dependencies
-   run: npx expo install --check
+ - name: Check Expo dependencies (advisory)
+   run: npx expo install --check || echo "::warning::Expo dependency drift detected (advisory only, not blocking). Run 'npx expo install --fix' to sync."

The gates that catch real breakage — lint, typecheck, tests — are untouched and still block. This only stops upstream patch drift from red-lighting unrelated PRs.

YAML validated.

`npx expo install --check` exits non-zero whenever Expo ships a patch
release within SDK 57, which happens every few days. Gating the Quality
checks job on it means every unrelated PR goes red until someone runs
`expo install --fix` — pure whack-a-mole (see the repeated dep-bump commits).

Keep the check running for visibility, but never fail the job on it: on
drift it now emits a GitHub warning annotation instead of exiting 1. Real
problems (lint, typecheck, tests) still gate as before.
@commitchan
commitchan merged commit eb8544c into main Jul 30, 2026
1 check passed
@commitchan
commitchan deleted the ci/expo-check-advisory branch July 30, 2026 06:55
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