Repository navigation
chore(deps): routine minor and patch updates - #361
Conversation
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
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sahajatlas-design | 2f5bfe4 | Nov 02 2026, 09:16 AM |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 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.jsgzip 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: zeroelementFromPoint, zeroownerDocument, twofullscreenElement. Themapbox.mdclaim holds.- Lockfile compared entry by entry: 0 of 1129 shared keys changed integrity, all 48 additions are
sha512-registry tarballs, thepnpmheader and all fourpatch_hashlines are byte-identical,undiciresolves 7.30.1. - Consumer side read: SahajCloud
mainpackage.jsonanddocs/rules/data-layer.md. - Preview opens now, though the body says pending:
/,/embed.jsand/auto.jsall 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
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
|
Four critic threads, all adopted. Pushed
Joined: the bumps moved 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 |
Summary
@radix-ui/react-*family is held back — taking it would silently defeat the shadow-boundary patch.[email protected], perdocs/rules/data-layer.md.vite 8.3.5won 0.4 KiB on that graph and the gate refuses an un-ratcheted win.Change outline
Contract — what resolves after
pnpm installRuntime:
Dev:
One hand edit beside them, which is why the Payload pair moves backwards:
docs/rules/data-layer.md:16-20states the reason this pin is exact: it carries SahajCloud's ownpayloadversion, because the package merges a live-preview message the CMS mints, and a resolveahead of the producer breaks that merge. SahajCloud
mainships[email protected], somain's3.91.0 was already one release ahead. Both Payload entries now read 3.90.2, and
payloaditselfresolves 3.90.2.
@payloadcms/sdkkeeps its caret range; the lockfile resolves it exactly, sincethe SDK declares
payloadat that one version.Behaviour — the loader budget, and why a number moved
scripts/check-bundle-size.mjsfails a graph running far under budget, because that is eitheran unratcheted win or an import walker that stopped seeing part of the graph. This bump tripped it.
Which of the two causes it was had to be settled before the number could move, so:
Isolated by building the base commit with
[email protected]and nothing else, so the win is that onedependency's. Both loader chunks (
auto.js, the preload helper) are still in the graph in bothbuilds, 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-chunkdebug-ID snippet is added back (
scripts/AGENTS.md's measuredloader +0.3 KiBgap). 3.4 wouldsit 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.mdputs change context in the commit message — the causeand the two raw byte counts stay. And the recorded
standalone/embedmeasurements 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
src/components/AGENTS.mdnames this as a block on the family, not a wait. Radix pins its ownprimitives exactly:
@radix-ui/[email protected]declares@radix-ui/react-focus-scope: 1.3.1,while
pnpm.overridesholds focus-scope at1.1.16becausepatches/@[email protected]is keyed to that version. The override would hand dialog
1.1.16with no warning — the exacthazard that file's
⚠describes, and its cost is a modal dialog that stops trapping focus insidethe shadow root while every check stays green.
Moving the family forward means re-basing the patch onto
1.3.1and dropping the override, inone change. That is its own PR; doing either half alone reopens the hole.
Preview
/,/embed.jsand/auto.jsall answered 200.mapbox-gl,react-routerandviteall moved.Test results
.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.pnpm build, ✓pnpm size—standalone324.4 / 330,loader2.4 / 3.2,embed326.2 / 330, all inside the slack window.src/lib/shadow-patches.test.tsis 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:wranglerpassed on both configs before the first push. This push touches no Worker config, so CI's run is the one that counts.Manual verification
Tabto 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.tssays why thefocusouthalf has no behavioural spec).mapbox-glmoved a minor version.Notes for reviewer
scripts/check-bundle-size.mjsedit is outsideprAllowlistGlobs, which listspackage.json,pnpm-lock.yaml,**/*.mdand two generated-type paths. It is here because the gate's own error message says to lowerBUDGET_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.docs/rules/data-layer.md:16-20names the rule, and the fix follows it to 3.90.2. Holding atmain's 3.91.0 instead is one commit, and leaves the pin one release ahead of the CMS./simplifyor/code-reviewpass: no application source changed.comment-lint.mjsran over the comments this branch added — clean.package.jsonandpnpm-lock.yamlare both insecurityReview.triggerPattern. No findings. What was checked, since a lockfile diff has no data flow to trace: the lockfile'ssettings,overridesandpatchedDependenciesheader is byte-identical, so no patch or override was weakened, and all 19patch_hashlines are unchanged; theundici: ^7.29.1override still holds, resolving 7.30.1; all 49 added resolutions are registry tarballs withsha512-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, sowsnow 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 updaterespects a declared range, so these held by themselves —each is listed so nobody reads the omission as an oversight:
@schedule-x/*AGENTS.md, and@schedule-x/calendaris patched at this version@radix-ui/react-focus-scopearia-hiddenvaulprettierprettier-plugin-tailwindcss0.8.x crashes against 3.3.3 (src/AGENTS.md). Needs its own PR@typescript-eslint/*--max-warnings 0. Its own PRlucide-reactwrangler@mapbox/search-js-*docs/rules/mapbox.mdreads shadow-boundary behaviour off the installed versionMajors available, deliberately not taken. Each gets its own PR and its changelog read:
@hookform/resolvers5→7,@sentry/browser10→11 with@sentry/vite-plugin5→11,@types/node22→26,eslint9→10 witheslint-config-prettier9→10 andeslint-plugin-react-hooks5→7,framer-motion11→14,i18next24→26 withreact-i18next15→17,jsdom27→30 (⚠docs/testing.md: 28+ raises the engine floor above this repo'sengines.node),react/react-dom18→19 with both@types/react*,react-error-boundary5→6,react-helmet-async2→3,react-map-gl7→8,react-router7→8,react-share5→6,schema-dts1→2,swiper12→14,tailwind-variants3→4,typescript5.6→7,vitest4→5.docs/rules/mapbox.md's shadow-boundary section states each line was read off the installedversion, so the
mapbox-glbump means re-reading it. Re-read against 3.34.1: noelementFromPoint, nodocument.body, noownerDocument, and the same twofullscreenElementreads — one inline in
FullscreenControl._changeIcon, one module-level helper with exactly threecallers, all behind
_cooperativeGestures. The claim holds unchanged; only the version moved.Generated by Claude Code