Skip to content

fix(release): sync-versions step 3 skips operator-core git dep#199

Open
brentrager wants to merge 1 commit into
mainfrom
fix-sync-versions-operator-core
Open

fix(release): sync-versions step 3 skips operator-core git dep#199
brentrager wants to merge 1 commit into
mainfrom
fix-sync-versions-operator-core

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Problem

The Changesets version PR (#156, 🦋 New version release) fails its Rust checks with:

error: failed to select a version for the requirement `smooai-smooth-operator-core = "^0.18.0"`

Root cause: scripts/sync-versions.mjs step 3 (add a version to workspace deps that lack one) stamps the workspace version onto the external smooth-operator git dependency ({ git, rev="b43c04fe", package="smooai-smooth-operator-core" }), which carries no version on main. The pinned rev provides the core at 0.15.0, so ^0.18.0 is unsatisfiable → resolver fails on the version PR. Step 2 already skipped operator-core; step 3 forgot to — so it recurs every release.

Fix

Apply the same smooai-smooth-operator-core skip in step 3's replace callback. One-line-equivalent change mirroring step 2. (The current release branch was also patched directly to unblock this release; this is the durable fix so it doesn't recur.)

Pearl th-1ee32b tracks this class of issue.

🤖 Generated with Claude Code

The version PR broke on 'failed to select a version for
smooai-smooth-operator-core = ^0.18.0': sync-versions.mjs step 3 (add missing
version) stamped the workspace version onto the smooth-operator git dep, which
the pinned rev can't provide. Step 2 already skipped it; step 3 now does too.
This is the durable fix for the release-blocking issue (the release branch was
also patched directly to unblock the current release).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vg7frHqHSAUXhQiRNdr3NW
@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 692fd43

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smooai/smooth Patch

Not sure what this means? Click here to learn what changesets are.

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

@brentrager brentrager enabled auto-merge (squash) July 13, 2026 03:01
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