Skip to content

fix: peer-window mismatch that broke the release publish - #1186

Merged
abhithesys merged 1 commit into
mainfrom
abhishek/fix-peer-windows
Sep 15, 2026
Merged

abhithesys merged 1 commit into
mainfrom
abhishek/fix-peer-windows

Conversation

@abhithesys

Copy link
Copy Markdown
Contributor

fix: peer-window mismatch that broke the release publish

The last Release run failed at publish (run): verify-peer-windows.mjs blocked it because react-ui/react-headless shipped at 0.16.0 while assistant-ui and react-ui still declared peer windows >=0.14.0 <0.16.0 — a range that excludes the 0.16.0 they ship against. The UI-pair minor crossed the window's upper bound and no PR moved the dependents' windows in that train.

Changes

  • Widen the three affected windows to <0.17.0 (react-ui → react-headless; assistant-ui → react-headless; assistant-ui → react-ui) so they include the 0.16.x line. The guard now passes.
  • Run verify-peer-windows.mjs inside version:ci (right after changeset version), so a stale window fails when the Version Packages PR is generated — surfacing on that run instead of at publish-after-merge, as it did here.

After merge

Re-run the failed Release workflow (or push to main): with the windows fixed, the publish path succeeds and the already-bumped 0.16.0 versions get published + tagged.

Follow-up (not in this PR)

This surfaces stale windows earlier but doesn't stop them recurring — the windows are still hand-maintained, so <0.17.0 just moves the next break to 0.17.0. The durable fix is a sync-peer-windows.mjs that derives each window from the just-bumped versions after changeset version, eliminating the manual chase. Proposed separately.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
openui-docs Ready Ready Preview Sep 15, 2026 2:15pm UTC

Request Review

0.17.0 while assistant-ui and react-ui still declared peer windows
'>=0.14.0 <0.17.0' — excluding the version actually being published. The
UI-pair minor crossed the upper bound and nobody moved the dependents'
windows in that train. Widen the three affected windows to <0.17.0.

Also run verify-peer-windows.mjs inside version:ci (right after
changeset version), so a stale window now fails when the Version Packages
PR is generated, surfacing on that run instead of at publish-after-merge.
@abhithesys
abhithesys merged commit 0227ad7 into main Sep 15, 2026
5 checks passed
@abhithesys
abhithesys deleted the abhishek/fix-peer-windows branch September 15, 2026 14:19
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.

2 participants