Skip to content

chore(deps): batch dependabot #670, #671, #672 — holding the mapbox bump back - #692

Merged
thinkclay merged 2 commits into
mainfrom
chore/batch-dependabot-670-671-672
Sep 1, 2026
Merged

thinkclay merged 2 commits into
mainfrom
chore/batch-dependabot-670-671-672

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

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:

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

🤖 Generated with Claude Code

…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]>
@thinkclay

Copy link
Copy Markdown
Contributor Author

CI status — as green as it can be against main's baseline.

check result
Detect changes ✅
Unit tests ✅
Monorepo integrity ✅ — first pass on a dependency PR in months
Lint, typecheck & build ❌ — identical to main, see below

Monorepo integrity needed two fixes to get there. pnpm dedupe cleared the 23 duplicates (#490). That then exposed the next step, check-deps, which had been unreachable behind the failing dedupe since #490 — it hung for 15 minutes and the job died on its own timeout, discarding the two checks that had already passed. The second commit caps it with timeout 300, so the hang degrades to the warning the step was always written to degrade to. All three steps now pass.

Lint, typecheck & build fails with exactly the same two tasks as main at 41c5448:

- docs-site:build
- scaffald:build

Both trace to one cause — future.v4: true in the sdk submodule's docusaurus config — filed as #693 with the root cause confirmed by flipping the flag. scaffald:build is collateral: the workspace root is an nx project whose build target re-invokes nx run-many -t build, so docs-site failing fails it too.

Attribution. Nothing here is caused by the bumps. The build failure set is byte-identical to main's. Locally, scf-core reports 13 failures — a worktree at the unmodified base commit produces the same 13 of 1205, a Node 26 localStorage artifact (CI runs Node 22), and CI's Unit tests are green either way.

@thinkclay
thinkclay merged commit 067f9b5 into main Sep 1, 2026
6 of 7 checks passed
@thinkclay
thinkclay deleted the chore/batch-dependabot-670-671-672 branch September 1, 2026 21:37
thinkclay added a commit that referenced this pull request Sep 2, 2026
#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
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