Repository navigation
chore(deps): batch dependabot #670, #671, #672 — holding the mapbox bump back - #692
Conversation
…ump back Lands the three open dependabot PRs as one revertible commit. All three touch pnpm-lock.yaml and the catalog, so they conflict pairwise and cannot merge independently; the lockfile here is regenerated rather than merged. #670 could not have merged on its own at all. Dependabot moved @biomejs/biome to 2.5.11 in the lockfile but left the catalog entry at ~2.5.10, so `pnpm install --frozen-lockfile` rejected the tree ("@biomejs/biome (lockfile: 2.5.11, manifest: catalog:)"), the install step failed, and Unit tests then died with `tsx: not found` against an empty node_modules. That is a dependabot/pnpm catalog gap, not a bad version. Landed: @biomejs/biome 2.5.10 → 2.5.11 catalog #670 @sentry/react 10.70.0 → 10.72.0 3 manifests #671 posthog-js 1.418.10 → 1.422.5 #671 posthog-react-native 4.63.5 → 4.66.2 #671 posthog-node 5.50.0 → 5.51.4 #671 @vitejs/plugin-react 6.1.0 → 6.1.1 #672 baseline-browser-mapping 2.11.17 → 2.11.20 #672 react-hook-form 7.85.0 → 7.86.0 catalog #672 supabase 2.115.0 → 2.116.0 catalog #672 One bump is held back: * @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, so `pod install` 403s and the iOS build breaks. This is the same bump that was dropped from the #552 batch for the same reason; #509 is still open. Dependabot had no way to know, so it is now in the ignore list scoped to >=10.2.0 — 10.1.x patches still flow — rather than being dropped by hand a third time. Also runs `pnpm dedupe`, which the Monorepo integrity job has been failing on against main: 23 duplicate packages, most of the [email protected] tree plus fs-extra, hasown, image-size, pg-protocol and queue. That debt is not dependabot's — the job is gated on `deps == 'true'`, so a dependency PR is the only thing that ever runs it, and main is never tested against it. Net effect on the lockfile is -336 lines. Verified locally against a cold nx cache (@scaffald/sdk and @scaffald/ui built first, as .github/actions/install does): pnpm dedupe --check pass (was 23 dupes) pnpm check-circular-deps pass pnpm check (lint 10 projects, typecheck 12) pass nx run-many -t test no regression The test run is qualified deliberately. scf-core reports 13 failures in clearAuthStorage.test.ts and MapStateProvider.test.tsx, but a worktree at the unmodified base commit produces exactly the same 13 out of 1205 — they are a local Node 26 artifact (`localStorage is not available because --localstorage-file was not provided`), and CI runs Node 22. Two other local failures are likewise not attributable here: @scaffald/integration-test is excluded from CI's affected:test by design, and docs-site:build is red on main at this same commit (ENOENT on packages/sdk/docs-site/build/__server/ server.bundle.js, inside the sdk submodule) — filed separately. Closes #670, closes #671, closes #672 Refs #509 Co-Authored-By: Claude Opus 5 <[email protected]>
The Monorepo integrity job on #692 ran 15 minutes and was cancelled by its own timeout, which also discarded the two checks that had already passed — the dedupe check this PR fixes, and the circular-dep check that never got to run. The step was already best-effort: `|| echo "⚠️ check-deps exited non-zero"`. But that guard only catches a non-zero exit. check-dependency-version-consistency does not exit here — it hangs, and no `||` helps against a hang. Locally the same command OOMs after several minutes at an 8 GB heap. This has been invisible because the dedupe step ahead of it has been failing since #490, so on every recent run the job died before reaching check-deps. The last three runs all ended in 65–85 seconds. Fixing dedupe is what exposed it — this step has effectively not executed in months. `timeout 300` turns the hang back into the warning the step was always meant to degrade to, so a stuck dependency-consistency walk stops taking two working checks down with it. Whether the tool is worth keeping at all is a separate question; this just stops it failing the job. Refs #490 Co-Authored-By: Claude Opus 5 <[email protected]>
|
CI status — as green as it can be against main's baseline.
Both trace to one cause — Attribution. Nothing here is caused by the bumps. The build failure set is byte-identical to main's. Locally, |
#701) Dependabot regenerates pnpm-lock.yaml but never runs `pnpm dedupe`, so its lockfiles arrive with duplicate resolutions — #700 carried 184, mostly the postcss 8.5.25/8.5.26 split fanning out through @csstools/*. Monorepo integrity runs `pnpm dedupe --check` and fails on exactly that. Self-inflicted and new: that job is gated on `deps == 'true'`, so a dependency PR is the only thing that runs it, and it had been failing on a backlog of pre-existing duplicates since #490. #692 cleared the backlog, so the check now works — and its job is to fail every dependabot PR. Left alone, hand-batching becomes the only way to land a dependency update. Verified against #700's real branch: `pnpm dedupe --ignore-scripts` takes it from 184 duplicates to exit 0, touching only pnpm-lock.yaml, and the deduped tree passes check and build. #700 is green on CI after the same commit applied by hand. pull_request_target is required because a dependabot-raised `pull_request` run gets a read-only token; the existing dependabot-automerge workflow already uses it for the same reason. Bounded by the `github.actor == 'dependabot[bot]'` gate, by dependabot branches being in-repo and touching only manifests plus the lockfile, and by `--ignore-scripts`. Refs #490
Lands the three open dependabot PRs as one revertible commit. All three touch
pnpm-lock.yaml and the catalog, so they conflict pairwise and cannot merge
independently; the lockfile here is regenerated rather than merged.
#670 could not have merged on its own at all. Dependabot moved @biomejs/biome
to 2.5.11 in the lockfile but left the catalog entry at ~2.5.10, so
pnpm install --frozen-lockfilerejected the tree ("@biomejs/biome (lockfile:2.5.11, manifest: catalog:)"), the install step failed, and Unit tests then died
with
tsx: not foundagainst an empty node_modules. That is a dependabot/pnpmcatalog gap, not a bad version.
Landed:
@biomejs/biome 2.5.10 → 2.5.11 catalog #670
@sentry/react 10.70.0 → 10.72.0 3 manifests #671
posthog-js 1.418.10 → 1.422.5 #671
posthog-react-native 4.63.5 → 4.66.2 #671
posthog-node 5.50.0 → 5.51.4 #671
@vitejs/plugin-react 6.1.0 → 6.1.1 #672
baseline-browser-mapping 2.11.17 → 2.11.20 #672
react-hook-form 7.85.0 → 7.86.0 catalog #672
supabase 2.115.0 → 2.116.0 catalog #672
One bump is held back:
only from its gated downloads API behind a SECRET (sk.) token with
DOWNLOADS:READ, so
pod install403s and the iOS build breaks. This is thesame bump that was dropped from the chore(deps): bump the everything-else group across 1 directory with 11 updates #552 batch for the same reason; @rnmapbox/maps cannot be upgraded past 10.1.x: MapboxCommon 24.x needs a secret downloads token we don't have #509 is
still open. Dependabot had no way to know, so it is now in the ignore list
scoped to >=10.2.0 — 10.1.x patches still flow — rather than being dropped by
hand a third time.
Also runs
pnpm dedupe, which the Monorepo integrity job has been failing onagainst main: 23 duplicate packages, most of the [email protected] tree plus
fs-extra, hasown, image-size, pg-protocol and queue. That debt is not
dependabot's — the job is gated on
deps == 'true', so a dependency PR is theonly thing that ever runs it, and main is never tested against it. Net effect
on the lockfile is -336 lines.
Verified locally against a cold nx cache (@scaffald/sdk and @scaffald/ui built
first, as .github/actions/install does):
pnpm dedupe --check pass (was 23 dupes)
pnpm check-circular-deps pass
pnpm check (lint 10 projects, typecheck 12) pass
nx run-many -t test no regression
The test run is qualified deliberately. scf-core reports 13 failures in
clearAuthStorage.test.ts and MapStateProvider.test.tsx, but a worktree at the
unmodified base commit produces exactly the same 13 out of 1205 — they are a
local Node 26 artifact (
localStorage is not available because --localstorage-file was not provided), and CI runs Node 22. Two other localfailures are likewise not attributable here: @scaffald/integration-test is
excluded from CI's affected:test by design, and docs-site:build is red on main
at this same commit (ENOENT on packages/sdk/docs-site/build/__server/
server.bundle.js, inside the sdk submodule) — filed separately.
Closes #670, closes #671, closes #672
Refs #509
🤖 Generated with Claude Code