Repository navigation
chore(deps): batch dependabot #495, #500, #503, #505 — holding two bumps back - #511
Merged
Merged
Conversation
…mps back Lands the four open dependabot PRs as one revertible commit. They all touch pnpm-lock.yaml and the catalog, so they conflict pairwise and cannot merge independently; the lockfile here is regenerated from scratch rather than merged. Two bumps are held back, each with a comment on its catalog entry: * @rnmapbox/maps 10.1.45 → 10.3.5 pulls MapboxCommon 24.x, which Mapbox serves only from its gated downloads API behind a SECRET (sk.) token with DOWNLOADS:READ. RNMapboxMapsDownloadToken falls back to the public EXPO_PUBLIC_MAPBOX_TOKEN, MAPBOX_DOWNLOADS_TOKEN is set in no env file and no EAS environment, and `pod install` 403s on the download — it breaks the iOS build. Locally this was masked by a warm CocoaPods cache holding the 23.12.0 that 10.1.x wants; an EAS builder has no such cache, so it would have failed remotely at Install pods. Confirmed by reverting only this bump and watching pod install go from exit 1 to exit 0. See #509. * @biomejs/biome 2.4.9 → 2.5.5 promotes lint/correctness/noUnsafeOptionalChaining to an error and two existing sites trip it — measured on identical source, 2.4.9 gives 0 errors and 2.5.5 gives 1 error per package. One site is in the ui submodule, so the bump needs a cross-repo PR + pointer bump first. See #510. Also aligns two catalog entries with the pnpm overrides that silently outrank them: @supabase/supabase-js (the override pinned ~2.86.0 while dependabot moved the catalog to ~2.110.9, re-introducing the drift #453 fixed — the pin turns out to be unnecessary, typecheck is clean at 2.110.9, so it is lifted rather than restored) and expo-modules-core (catalog 56.0.12 vs override 56.0.22, leftover from #502). #508 tracks automating that audit. Verified locally, since CI is billing-blocked. nx cache was reset first: an earlier run reported a false pass from a stale hit, which is what surfaced the biome errors late. pnpm check (locales + lint + typecheck, 12 projects) pass nx run-many -t test pass deploy-ssr.sh preview (real Metro web export + SSR) pass expo prebuild --platform ios --clean pass pod install pass (exit 0) Closes #495, closes #500, closes #503, closes #505 Refs #508, refs #509, refs #510 Co-Authored-By: Claude Fable 5 <[email protected]>
thinkclay
added a commit
that referenced
this pull request
Jul 30, 2026
…iOS build
chore(release): scaffald-app v1.16.1
The v1.16.0 iOS build (8af7b052, build 11201) failed at EAGER_BUNDLE:
Error: Node.js detected but native WebSocket not found.
at getWebSocketConstructor (@supabase/realtime-js/.../websocket-factory.js)
at createClient (packages/scf-core/utils/supabase/client.ts:52)
at getBuildTimeServerManifestAsync (@expo/router-server/.../getServerManifest)
supabase-js 2.110's realtime-js demands a native WebSocket global when it
detects Node. expo-router calls createClient under Node while generating the
build-time route manifest, and eas.json pins the production builder to node
20.19.4, which has no global WebSocket (it landed unflagged in node 22).
This was my regression, introduced in #511: dependabot bumped the catalog and I
lifted the long-standing override pin on the strength of a clean typecheck.
Typecheck cannot see this — the failure is runtime, on a Node version that only
the builder uses. Locally it passed precisely because local node is 22.x.
Revert both the catalog entry and the override together (an override outranks
the catalog — #453), and record the reason on the catalog entry so the next
dependabot bump does not silently re-land it.
Verified by simulating the builder rather than trusting the local runtime:
delete globalThis.WebSocket
createClient('https://example.supabase.co', 'anon-key')
2.110.9 → throws "Node.js detected but native WebSocket not found."
2.86.2 → OK
pnpm check passes on a cold nx cache. Ships as v1.16.1 rather than retagging
v1.16.0, since that tag is already pushed and one tag must mean one build.
eas.json APP_IOS_BUILD_NUMBER moves 11201 → 11202.
Refs #512
Co-Authored-By: Claude Fable 5 <[email protected]>
thinkclay
added a commit
that referenced
this pull request
Jul 30, 2026
…try (#514) A pnpm.overrides entry silently outranks the pnpm-workspace.yaml catalog entry of the same name; when they disagree, the catalog line reads like the version in use and is ignored. That drift has shipped real breakage three times: #453 (supabase-js catalog ignored), #501 (autolinking override pinned below what @expo/cli needs — every web export died), and #511 (dependabot bumped the supabase-js catalog while the override stayed put, re-introducing #453 verbatim). scripts/check-override-catalog-alignment.mjs compares every override against the catalog with semver set logic: - selector-scoped overrides ("pkg@<=1.2.3", CVE floors) are skipped — they intentionally target a subrange - an override that is a SUBSET of the catalog range passes (react-dom pinned 19.2.3 inside ^19.2.3 narrows, it does not lie) - anything else fails, naming both values and which one actually installs Wired into prepush.sh, `pnpm lint`, and precommit. Verified against the two historical drifts reproduced verbatim (supabase-js ~2.86 vs ~2.110.9, and expo-modules-core 56.0.22 vs 56.0.12): both fail; current tree passes with 9 comparable pairs checked. Runs in ~100ms. Closes #508's check half. The dependabot-ignore half (stop bumping catalog entries an override pins) stays open on the issue. Co-authored-by: Claude Fable 5 <[email protected]>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #495, #500, #503, #505. They all touch
pnpm-lock.yamland the catalog, so they conflict pairwise and can't merge independently — this lands them as one revertible commit with the lockfile regenerated from scratch.Held back (2 of ~40 bumps)
@rnmapbox/maps10.1.45 → 10.3.5 — would have broken the iOS build. It pulls MapboxCommon 24.x, which Mapbox serves only from its gated downloads API behind a secret (sk.) token withDOWNLOADS:READ. We supply the publicEXPO_PUBLIC_MAPBOX_TOKENas a fallback andMAPBOX_DOWNLOADS_TOKENis set in no env file and no EAS environment, sopod installgets a 403.Locally this was masked by a warm CocoaPods cache holding the 23.12.0 that 10.1.x wants. An EAS builder has no such cache — it would have failed remotely at Install pods, historically the most expensive place to find a problem here. Confirmed causally by reverting only this bump and watching
pod installgo exit 1 → exit 0. → #509@biomejs/biome2.4.9 → 2.5.5 — two new lint errors. 2.5.x promotesnoUnsafeOptionalChainingto an error. Measured against identical source:Both sites are a type assertion defeating a guard that genuinely exists. One is in the ui submodule, so the bump needs a cross-repo PR + pointer bump. → #510
Also fixed: catalog/override drift
Two catalog entries disagreed with the
pnpm.overridesthat silently outrank them:@supabase/supabase-js— override pinned~2.86.0while dependabot moved the catalog to~2.110.9, re-introducing exactly the drift deps: pnpm override pins @supabase/supabase-js 14 minors below the catalog entry #453 fixed. The pin turns out to be unnecessary (typecheck is clean at 2.110.9), so it's lifted rather than restored.expo-modules-core— catalog56.0.12vs override56.0.22, my own leftover from fix(deps): align expo-modules overrides with expo 56.0.18 #502. Harmless (the override was newer) but the catalog was lying.→ #508 tracks automating this audit, and stopping dependabot from bumping catalog entries an override pins.
Verification
CI is billing-blocked, so this is all local. The nx cache was reset first — an earlier run reported a false pass from a stale hit, which is why the biome errors surfaced late. Worth knowing for anyone verifying dep changes here.
The last two are the ones that mattered: they're what caught the Mapbox blocker before it cost an EAS build.
Closes #495, closes #500, closes #503, closes #505
🤖 Generated with Claude Code