Skip to content

chore(deps): routine minor and patch updates - #361

Merged
sydevs-bot merged 5 commits into
mainfrom
claude/chore-deps-routine
Nov 2, 2026
Merged

sydevs-bot merged 5 commits into
mainfrom
claude/chore-deps-routine

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Thirteen in-range minor/patch bumps. The whole @radix-ui/react-* family is held back — taking it would silently defeat the shadow-boundary patch.
  • The Payload pair aligns to SahajCloud's [email protected], per docs/rules/data-layer.md.
  • The loader budget ratchets 3.5 → 3.2 KiB, because vite 8.3.5 won 0.4 KiB on that graph and the gate refuses an un-ratcheted win.

Change outline

Contract — what resolves after pnpm install

Runtime:

-  @payloadcms/sdk                  3.91.0  → 3.90.2
-  @sentry/browser                  10.76.2 → 10.78.0
-  @tanstack/react-query            5.104.4 → 5.105.1
-  i18next-browser-languagedetector 8.2.1   → 8.3.0
-  mapbox-gl                        3.33.0  → 3.34.1
-  react-hook-form                  7.90.0  → 7.91.0
-  react-router                     7.18.4  → 7.18.5
-  vite-plugin-css-injected-by-js   5.0.2   → 5.0.3
-  yet-another-react-lightbox       3.32.2  → 3.33.0
-  zustand                          5.0.15  → 5.0.16

Dev:

-  @vitejs/plugin-react     6.1.2  → 6.2.0
-  postcss-selector-parser  7.1.6  → 7.1.7
-  vite                     8.3.4  → 8.3.5

One hand edit beside them, which is why the Payload pair moves backwards:

 package.json
-  "@payloadcms/live-preview-react": "3.91.0"
+  "@payloadcms/live-preview-react": "3.90.2"

docs/rules/data-layer.md:16-20 states the reason this pin is exact: it carries SahajCloud's own
payload version, because the package merges a live-preview message the CMS mints, and a resolve
ahead of the producer breaks that merge. SahajCloud main ships [email protected], so main's
3.91.0 was already one release ahead. Both Payload entries now read 3.90.2, and payload itself
resolves 3.90.2. @payloadcms/sdk keeps its caret range; the lockfile resolves it exactly, since
the SDK declares payload at that one version.

Behaviour — the loader budget, and why a number moved

scripts/check-bundle-size.mjs fails a graph running far under budget, because that is either
an unratcheted win or an import walker that stopped seeing part of the graph. This bump tripped it.

 BUDGET_KIB                                      scripts/check-bundle-size.mjs
   standalone  330
-  loader      3.5      # measured 2.4 → 1.1 KiB spare, outside the slack window
+  loader      3.2      # measured 2.4 → 0.8 KiB spare
   embed       330

Which of the two causes it was had to be settled before the number could move, so:

vite 8.3.4   preload-helper-CZRn7Jzh.js   2444 bytes raw
vite 8.3.5   preload-helper-BLdHbfdN.js   1519 bytes raw

Isolated by building the base commit with [email protected] and nothing else, so the win is that one
dependency's. Both loader chunks (auto.js, the preload helper) are still in the graph in both
builds, which is what says the walker did not go half-blind.

3.2 satisfies both rules the script holds at once: it is inside the slack window against the 2.4
KiB CI measures, and above the 2.7 KiB production ships once @sentry/vite-plugin's per-chunk
debug-ID snippet is added back (scripts/AGENTS.md's measured loader +0.3 KiB gap). 3.4 would
sit on the slack boundary exactly.

Two further edits in that file's budget comment: the record of how the vite win was isolated is
gone, because docs/rules/code-comments.md puts change context in the commit message — the cause
and the two raw byte counts stay. And the recorded standalone / embed measurements move 324.1 →
324.4 and 325.9 → 326.2, which is where the bumps left those two graphs. Both budgets stay at 330.

Files — what is deliberately NOT here

 package.json  dependencies
-  @radix-ui/react-checkbox       1.3.11 → 1.4.1     held
-  @radix-ui/react-dialog         1.1.23 → 1.3.1     held
-  @radix-ui/react-dropdown-menu  2.1.24 → 2.2.1     held
-  @radix-ui/react-label          2.1.15 → 2.1.17    held
-  @radix-ui/react-popover        1.1.23 → 1.3.1     held
-  @radix-ui/react-select         2.3.7  → 2.4.1     held
-  @radix-ui/react-slider         1.4.7  → 1.6.1     held
-  @radix-ui/react-switch         1.3.7  → 1.4.1     held
-  @radix-ui/react-toggle-group   1.1.19 → 1.2.1     held

src/components/AGENTS.md names this as a block on the family, not a wait. Radix pins its own
primitives exactly: @radix-ui/[email protected] declares @radix-ui/react-focus-scope: 1.3.1,
while pnpm.overrides holds focus-scope at 1.1.16 because patches/@[email protected]
is keyed to that version. The override would hand dialog 1.1.16 with no warning — the exact
hazard that file's ⚠ describes, and its cost is a modal dialog that stops trapping focus inside
the shadow root while every check stays green.

Moving the family forward means re-basing the patch onto 1.3.1 and dropping the override, in
one change. That is its own PR; doing either half alone reopens the hole.

Preview

  • Preview pending — no branch alias is readable yet, in either the Cloudflare comment or the Workers Builds check run, so none is linked here. The app and the Ladle playground each publish their alias on their own check run.
  • The adversarial review reached the app alias on the previous head: /, /embed.js and /auto.js all answered 200.
  • Data: N/A — nothing here changes what a page shows. What the preview is worth on this PR is that the widget still boots: mapbox-gl, react-router and vite all moved.

Test results

  • Lean gate: ✓ .claude/skills/pr-prep/check.sh, re-run after the Payload realignment — eslint --max-warnings 0, tsc --noEmit ×2, vitest run: 157 files, 1898 tests passed.
  • Build: ✓ pnpm build, ✓ pnpm size — standalone 324.4 / 330, loader 2.4 / 3.2, embed 326.2 / 330, all inside the slack window.
  • Targeted specs: src/lib/shadow-patches.test.ts is the one that matters here — its drift pins and its per-consumer resolution pins both pass, which is what proves all four patches still apply to the copy each consumer resolves.
  • pnpm check:wrangler passed on both configs before the first push. This push touches no Worker config, so CI's run is the one that counts.

Manual verification

  1. Open a drawer and a modal on the preview and Tab to the end of it — focus should cycle inside, not escape to the host page. This is the property the held-back Radix family protects, and jsdom cannot see it (src/lib/shadow-patches.test.ts says why the focusout half has no behavioural spec).
  2. Pan and zoom the map. mapbox-gl moved a minor version.
  3. Open a page in SahajCloud's live preview. The Payload pair moved backwards, and that merge is what the pin protects.

Notes for reviewer

  • The scripts/check-bundle-size.mjs edit is outside prAllowlistGlobs, which lists package.json, pnpm-lock.yaml, **/*.md and two generated-type paths. It is here because the gate's own error message says to lower BUDGET_KIB "in the same commit that won the space", and leaving it would make CI red on a correct PR. Flagging it rather than hiding it.
  • The Payload pin is settled, not a judgement call: docs/rules/data-layer.md:16-20 names the rule, and the fix follows it to 3.90.2. Holding at main's 3.91.0 instead is one commit, and leaves the pin one release ahead of the CMS.
  • No /simplify or /code-review pass: no application source changed. comment-lint.mjs ran over the comments this branch added — clean.
  • Security review: run — package.json and pnpm-lock.yaml are both in securityReview.triggerPattern. No findings. What was checked, since a lockfile diff has no data flow to trace: the lockfile's settings, overrides and patchedDependencies header is byte-identical, so no patch or override was weakened, and all 19 patch_hash lines are unchanged; the undici: ^7.29.1 override still holds, resolving 7.30.1; all 49 added resolutions are registry tarballs with sha512- integrity hashes, none from git, a URL or a path; 0 of 1129 shared lockfile keys changed integrity at an unchanged version, which is the republished-tarball signal. The entry count goes 1175 → 1178 — 49 added against 46 removed, and three of those additions pair no removal ([email protected], [email protected], [email protected]), each an extra version of a package already in the tree, so ws now resolves at three. Zero brand-new package names, and zero dropped, which is the claim that matters: nothing new joined the tree.
Detail

Pins left alone, and why. pnpm update respects a declared range, so these held by themselves —
each is listed so nobody reads the omission as an oversight:

Package At Latest Why it stays
@schedule-x/* 2.36.0 4.9.1 Pinned in the root AGENTS.md, and @schedule-x/calendar is patched at this version
@radix-ui/react-focus-scope 1.1.16 1.3.1 Patched, and the override's subject
aria-hidden 1.2.6 1.2.6 Patched; still the newest published
vaul 1.1.2 1.1.2 Patched; current
prettier 3.3.3 3.9.10 A bump reformats the tree, and prettier-plugin-tailwindcss 0.8.x crashes against 3.3.3 (src/AGENTS.md). Needs its own PR
@typescript-eslint/* 8.11.0 8.72.1 61 minors of new lint rules against --max-warnings 0. Its own PR
lucide-react 1.59.0 1.66.0 Exact pin, no stated reason. Left for a PR that can check the glyph inventory spec
wrangler 4.150.0 4.156.1 Exact pin; deploy-config reproducibility
@mapbox/search-js-* 1.0.0-beta.24 1.6.0 A beta-to-stable move across eight custom elements. Worth its own PR — docs/rules/mapbox.md reads shadow-boundary behaviour off the installed version

Majors available, deliberately not taken. Each gets its own PR and its changelog read:
@hookform/resolvers 5→7, @sentry/browser 10→11 with @sentry/vite-plugin 5→11,
@types/node 22→26, eslint 9→10 with eslint-config-prettier 9→10 and
eslint-plugin-react-hooks 5→7, framer-motion 11→14, i18next 24→26 with react-i18next 15→17,
jsdom 27→30 (⚠ docs/testing.md: 28+ raises the engine floor above this repo's engines.node),
react/react-dom 18→19 with both @types/react*, react-error-boundary 5→6,
react-helmet-async 2→3, react-map-gl 7→8, react-router 7→8, react-share 5→6,
schema-dts 1→2, swiper 12→14, tailwind-variants 3→4, typescript 5.6→7, vitest 4→5.

docs/rules/mapbox.md's shadow-boundary section states each line was read off the installed
version, so the mapbox-gl bump means re-reading it. Re-read against 3.34.1: no
elementFromPoint, no document.body, no ownerDocument, and the same two fullscreenElement
reads — one inline in FullscreenControl._changeIcon, one module-level helper with exactly three
callers, all behind _cooperativeGestures. The claim holds unchanged; only the version moved.


Generated by Claude Code

Thirteen in-range bumps. The whole @radix-ui/react-* family is held back
deliberately, and the loader budget ratchets from 3.5 to 3.2 KiB.

The Radix hold is the documented block in src/components/AGENTS.md:
every primitive pins its own focus-scope EXACTLY, and pnpm.overrides
holds focus-scope at 1.1.16 because our shadow-boundary patch is keyed to
that version. @radix-ui/react-dialog 1.3.1 declares focus-scope 1.3.1, so
the override would hand it 1.1.16 silently — the exact hazard that file
names. Moving the family forward means re-basing the patch onto 1.3.1 and
dropping the override in one change, which is its own PR.

@payloadcms/live-preview-react was exact-pinned at 3.91.0 with no stated
reason while @payloadcms/sdk moved by range. Both now read 3.92.1, so the
Payload packages carry one version.

vite 8.3.5 emits a smaller __vitePreload helper than 8.3.4 — 1519 bytes
against 2444, raw — which took the loader graph from 2.8 to 2.4 KiB and
tripped the under-budget ratchet. Isolated by building the base commit
with that one bump and nothing else. Both loader chunks are still in the
graph, so this is a real shrink and not a half-blind import walker.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVkVrjNhL42MXm9zE7
That section says each line was read off the installed version, so the
version has to move with it. Re-read against 3.34.1: no elementFromPoint,
no document.body, no ownerDocument, and the same two fullscreenElement
reads — one inline in FullscreenControl._changeIcon, one module-level
helper with exactly three callers, all behind _cooperativeGestures.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVkVrjNhL42MXm9zE7
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sahajatlas-design 2f5bfe4 Nov 02 2026, 09:16 AM

@sydevs-bot

sydevs-bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

recent dispatches
  • 09:02Z address-review · attempt 1 · session · done
  • 09:02Z address-review · attempt 1 · session
  • 08:51Z review-pr · attempt 1 · session · done
  • 08:51Z review-pr · attempt 1 · session

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 2, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 2, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

Nothing is smuggled in: no new file, helper or dependency. Both non-lockfile edits are forced — the budget ratchet by the gate's own rule, the mapbox.md line by that file's own instruction. The check-bundle-size.mjs edit sits outside prAllowlistGlobs, is flagged rather than hidden, and belongs here. One finding is cross-repo and real: the Payload pin has a documented reason the body says it lacks, and 3.92.1 carries it ahead of the producer. Three others are body-versus-reality.

Findings

  • blocker — package.json:40. The pin's reason is written down, and 3.92.1 breaks it.
  • should-fix — pnpm-lock.yaml:5794. The security-review counts do not reconcile.
  • should-fix — scripts/check-bundle-size.mjs:143. The outline's pre-bump measurement is impossible.
  • consider — scripts/check-bundle-size.mjs:115. The budget comment narrates the investigation.

What was checked

  • Budget re-derived from the live preview, not the body: auto.js + preload-helper-BLdHbfdN.js gzip to 2.45 KiB, spare 0.75 against a 1 KiB floor. The ratchet to 3.2 is needed and correct, and 1519 raw bytes matches.
  • [email protected] fetched and read: zero elementFromPoint, zero ownerDocument, two fullscreenElement. The mapbox.md claim holds.
  • Lockfile compared entry by entry: 0 of 1129 shared keys changed integrity, all 48 additions are sha512- registry tarballs, the pnpm header and all four patch_hash lines are byte-identical, undici resolves 7.30.1.
  • Consumer side read: SahajCloud main package.json and docs/rules/data-layer.md.
  • Preview opens now, though the body says pending: /, /embed.js and /auto.js all answer 200.
  • Ladder: the diff adds no file, function, type, constant or dependency. No stale old-version string survives in the tree.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread package.json Resolved
Comment thread pnpm-lock.yaml Resolved
Comment thread scripts/check-bundle-size.mjs Resolved
Comment thread scripts/check-bundle-size.mjs Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 2, 2026
docs/rules/data-layer.md:16-20 states the reason the exact pin exists: it
tracks SahajCloud's own payload version, because @payloadcms/live-preview-react
merges a message the CMS mints, and a resolve ahead of the producer breaks that
merge. SahajCloud main ships [email protected], so 3.92.1 carried it two releases
ahead. main's 3.91.0 was already one ahead.

Both now read 3.90.2 and payload resolves 3.90.2, matching the producer.
@payloadcms/sdk keeps its caret range; the lockfile resolves it exactly, since
the SDK declares payload at that version.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYFpGmRfeX9kqb28Sd
docs/rules/code-comments.md puts change context in the commit message. How the
vite win was isolated, and that both loader chunks stayed in the graph, are
records of a measurement rather than constraints the next reader needs. The
cause and the two raw byte counts stay, and the chronicle is two budgets
instead of three.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYFpGmRfeX9kqb28Sd
The dependency bumps moved both eager graphs 0.3 KiB, so the recorded
measurements no longer match what CI reads. scripts/AGENTS.md requires the
uncredentialed and credentialed numbers to sit beside the budget. 330 still
clears both, so neither budget moves.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYFpGmRfeX9kqb28Sd
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Four critic threads, all adopted. Pushed 2f5bfe4.

Joined: the bumps moved standalone and embed 0.3 KiB, so both recorded measurements move. 2f5bfe4

Gates re-run: lean gate green at 1898 tests, loader 2.4/3.2. Security review: no findings.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 2, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review November 2, 2026 09:22
@sydevs-bot
sydevs-bot requested a review from Ardnived November 2, 2026 09:22
@sydevs-bot
sydevs-bot enabled auto-merge November 2, 2026 09:22
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 2, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 2, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 2, 2026
Merged via the queue into main with commit 6213036 Nov 2, 2026
72 of 77 checks passed
@sydevs-bot
sydevs-bot deleted the claude/chore-deps-routine branch November 2, 2026 21:05
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants