Skip to content

chore: gate typescript majors behind dashboard approval - #2973

Merged
christianhg merged 1 commit into
mainfrom
chore/renovate-gate-typescript-majors
Jul 10, 2026
Merged

chore: gate typescript majors behind dashboard approval#2973
christianhg merged 1 commit into
mainfrom
chore/renovate-gate-typescript-majors

Conversation

@christianhg

Copy link
Copy Markdown
Member

Renovate opened #2972 (typescript 6.0.3 → 7.0.2) unattended and every CI job failed at install in under 25 seconds: the renovate/artifacts failure shows it couldn't even regenerate the lockfile, the toolchain's peer ranges (typescript-eslint, the build tooling) don't admit 7.x, so the catalog and pnpm-lock.yaml diverged and --frozen-lockfile died in every job.

The PR existed at all because the important-packages rule fast-tracks typescript past the dependency dashboard, which is right for minors/patches (keep TS current) but wrong for majors: 6 → 7 is the jump to the native Go compiler, a deliberate toolchain migration touching check:types, declaration emit, and every TS-peer'd build tool. The catalog even pins TS exactly (6.0.3), signaling it's deliberately managed.

This adds one packageRule after the fast-track rule (later rules override earlier ones for what they match): typescript + matchUpdateTypes: ["major"] → back behind dashboard approval. Minors and patches keep the fast track. Same shape as the vitest changeset fix (#2964): a package rule that was missing a majors carve-out.

#2972 is closed in favor of a deliberate TS7 migration whenever it's chosen.

The important-packages rule fast-tracks `typescript` past the dependency
dashboard so minors/patches land promptly, but it also let the 6 -> 7
major (#2972) open unattended: a jump to the native compiler that every
CI job failed at install (Renovate could not even regenerate the
lockfile, the toolchain's peer ranges don't admit 7.x). A TypeScript
major is a toolchain migration to be scheduled deliberately, not a dep
bump. The new rule sits after the fast-track rule, so it overrides it
for majors only; minors and patches keep the fast track.
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portable-text-editor-documentation Ready Ready Preview, Comment Jul 10, 2026 12:38pm
portable-text-example-basic Ready Ready Preview, Comment Jul 10, 2026 12:38pm
portable-text-playground Ready Ready Preview, Comment Jul 10, 2026 12:38pm

Request Review

@changeset-bot

changeset-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d0369d9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Stats — @portabletext/editor

Compared against main (f2c67f39)

@portabletext/editor

Metric Value vs main (f2c67f3)
Internal (raw) 800.0 KB -
Internal (gzip) 153.3 KB -
Bundled (raw) 1.41 MB -
Bundled (gzip) 317.6 KB -
Import time 103ms +0ms, +0.2%

@portabletext/editor/behaviors

Metric Value vs main (f2c67f3)
Internal (raw) 467 B -
Internal (gzip) 207 B -
Bundled (raw) 424 B -
Bundled (gzip) 171 B -
Import time 2ms -0ms, -0.7%

@portabletext/editor/plugins

Metric Value vs main (f2c67f3)
Internal (raw) 2.7 KB -
Internal (gzip) 894 B -
Bundled (raw) 2.5 KB -
Bundled (gzip) 827 B -
Import time 7ms -0ms, -0.9%

@portabletext/editor/selectors

Metric Value vs main (f2c67f3)
Internal (raw) 81.2 KB -
Internal (gzip) 14.9 KB -
Bundled (raw) 76.9 KB -
Bundled (gzip) 13.8 KB -
Import time 8ms +0ms, +0.6%

@portabletext/editor/traversal

Metric Value vs main (f2c67f3)
Internal (raw) 28.1 KB -
Internal (gzip) 5.6 KB -
Bundled (raw) 28.1 KB -
Bundled (gzip) 5.5 KB -
Import time 6ms +0ms, +1.3%

@portabletext/editor/utils

Metric Value vs main (f2c67f3)
Internal (raw) 29.7 KB -
Internal (gzip) 6.2 KB -
Bundled (raw) 27.4 KB -
Bundled (gzip) 5.9 KB -
Import time 6ms -0ms, -0.4%

🗺️ . · ./behaviors · ./plugins · ./selectors · ./traversal · ./utils · 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 — @portabletext/markdown

Compared against main (f2c67f39)

Metric Value vs main (f2c67f3)
Internal (raw) 53.8 KB -
Internal (gzip) 9.8 KB -
Bundled (raw) 348.9 KB -
Bundled (gzip) 96.3 KB -
Import time 42ms +1ms, +3.5%

🗺️ 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.

@christianhg
christianhg marked this pull request as ready for review July 10, 2026 12:45
@christianhg
christianhg merged commit 46133ac into main Jul 10, 2026
17 checks passed
@christianhg
christianhg deleted the chore/renovate-gate-typescript-majors branch July 10, 2026 12:45
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