Skip to content

Migrate to vitest - #433

Merged
eddeee888 merged 8 commits into
masterfrom
migrate-to-vitest
May 11, 2026
Merged

eddeee888 merged 8 commits into
masterfrom
migrate-to-vitest

Conversation

@eddeee888

Copy link
Copy Markdown
Owner

No description provided.

@changeset-bot

changeset-bot Bot commented May 11, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 07b23b2

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

@eddeee888
eddeee888 merged commit 99c4ac2 into master May 11, 2026
27 checks passed
@eddeee888
eddeee888 deleted the migrate-to-vitest branch May 11, 2026 10:46
eddeee888 added a commit that referenced this pull request Sep 1, 2026
* Fix /release-snapshot comment reporting stale alpha version

The "Get snapshot versions" step read each package's new version via
`pnpm view <pkg> dist-tags.alpha` immediately after `changeset publish`.
npm's registry can lag a few seconds behind a publish before the new
dist-tag is visible to a read, so this consistently reported the alpha
version from a previous snapshot run instead of the one just published.

Verified against a recent run (#433): it published
gcg-typescript-resolver-files@0.0.0-pr490-run433-1-... but the comment
reported 0.0.0-pr487-run427-1-... from three days earlier, even though
querying the registry later returns the correct, freshly published tag.

Fix: read the version straight from each package's local package.json
when it was actually published this run (its version already matches
the run's snapshot tag prefix, written by `changeset version --snapshot`)
instead of round-tripping through the registry. Packages untouched by
the PR's changesets (not published this run) still fall back to
`pnpm view` to report their current alpha tag.

* Add inline comments explaining pkg/dir split

Clarify what the %% and ## parameter expansions do when splitting
each "pkg:dir" entry.

* Skip packages with no changeset in the /release-snapshot comment

Previously, packages not touched by the PR's changesets still got a
line in the comment via a `pnpm view` fallback, showing a stale
version from an unrelated prior run. Now they're left out of the
comment entirely instead.

---------

Co-authored-by: Claude <noreply@anthropic.com>
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