chore(deps): dedupe @module-federation runtime packages to 2.7.0#1487
Merged
Conversation
Member
Author
|
This change is part of the following stack: Change managed by git-spice. |
Contributor
📦 Bundle Stats —
|
| Metric | Value | vs main (473ae36) |
|---|---|---|
| Internal (raw) | 2.2 KB | - |
| Internal (gzip) | 838 B | - |
| Bundled (raw) | 11.16 MB | - |
| Bundled (gzip) | 2.10 MB | - |
| Import time | 864ms | -0ms, -0.0% |
bin:sanity
| Metric | Value | vs main (473ae36) |
|---|---|---|
| Internal (raw) | 782 B | - |
| Internal (gzip) | 423 B | - |
| Bundled (raw) | 9.87 MB | - |
| Bundled (gzip) | 1.78 MB | - |
| Import time | 2.24s | +26ms, +1.2% |
🗺️ View treemap · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
📦 Bundle Stats — @sanity/cli-core
Compared against main (473ae366)
| Metric | Value | vs main (473ae36) |
|---|---|---|
| Internal (raw) | 108.1 KB | - |
| Internal (gzip) | 27.0 KB | - |
| Bundled (raw) | 21.72 MB | - |
| Bundled (gzip) | 3.46 MB | - |
| Import time | 770ms | +3ms, +0.4% |
🗺️ View treemap · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
📦 Bundle Stats — create-sanity
Compared against main (473ae366)
| Metric | Value | vs main (473ae36) |
|---|---|---|
| Internal (raw) | 908 B | - |
| Internal (gzip) | 483 B | - |
| Bundled (raw) | 931 B | - |
| Bundled (gzip) | 491 B | - |
| Import time | ❌ ChildProcess denied: node | - |
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
Contributor
Coverage DeltaNo covered files changed in this PR. Overall Coverage
|
The @module-federation/vite 1.16.14 bump (#1484) left the lockfile with two copies of runtime/runtime-core/sdk/error-codes: 2.7.0 for mf-vite and a stale 2.6.0 still resolved for @sanity/workbench's ^2.6.0 range. Any branch that touches dependencies picks up this dedupe as unrelated churn (see #1486). Landing it separately keeps those diffs clean.
gu-stav
force-pushed
the
dedup-mf-runtime-2-7
branch
from
July 13, 2026 11:47
44dde10 to
c9ff4d7
Compare
gu-stav
enabled auto-merge (squash)
July 13, 2026 11:47
joshuaellis
approved these changes
Jul 13, 2026
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.
Description
#1484 bumped
@module-federation/viteto 1.16.14, which pulls@module-federation/{runtime,runtime-core,sdk,error-codes}2.7.0. The lockfile regeneration was minimal, so@sanity/workbench's^2.6.0range stayed resolved at 2.6.0 — leaving two copies of each package in the lockfile.That state isn't a pnpm fixed point: any branch that touches dependencies gets this dedupe as unrelated churn on install (it showed up in #1486). This lands the dedupe on its own so other diffs stay clean.
What to review
Lockfile only. The 2.6.0 entries are removed and
@sanity/workbenchnow resolves its runtime to 2.7.0 — the same version mf-vite already uses since #1484.Testing
pnpm install --frozen-lockfile,pnpm build:cli, and a re-run ofpnpm install(no lockfile drift) all pass locally.Notes for release
N/A
Note
Low Risk
Dependency lockfile deduplication only; no application source changes, with workbench already semver-compatible with 2.7.0.
Overview
Lockfile-only change that removes duplicate
@module-federation/{runtime,runtime-core,sdk,error-codes}2.6.0 entries and pins everything to 2.7.0, matching what@module-federation/vitealready pulled in after #1484.@sanity/workbench’s runtime dependency moves from 2.6.0 to 2.7.0, so the tree no longer carries two versions andpnpm installstops rewriting the lockfile on unrelated dependency work.Reviewed by Cursor Bugbot for commit c9ff4d7. Bugbot is set up for automated code reviews on this repo. Configure here.