Skip to content

Warn about changesets that don't list any released package - #2315

Open
mixelburg wants to merge 1 commit into
changesets:mainfrom
mixelburg:warn-about-changesets-without-released-packages
Open

mixelburg wants to merge 1 commit into
changesets:mainfrom
mixelburg:warn-about-changesets-without-released-packages

Conversation

@mixelburg

Copy link
Copy Markdown
Contributor

A changeset that lists a package which isn't going to be released (ignore, or a private package with privatePackages.version turned off) is dropped from the release plan without any trace, so a changeset that names nothing but such packages silently has no effect. An unknown package name already fails hard, so this adds the same kind of feedback for that case: changeset status now warns and lists the changesets in question.

Nothing fails and the --output result is unchanged, so existing CI usage is unaffected.

Closes #2101

@changeset-bot

changeset-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ccf274b

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

This PR includes changesets to release 1 package
Name Type
@changesets/cli 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

@netlify

netlify Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for changesets ready!

Name Link
🔨 Latest commit ccf274b
🔍 Latest deploy log https://app.netlify.com/projects/changesets/deploys/6ab05acd133101000910ce0b
😎 Deploy Preview https://deploy-preview-2315--changesets.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Sep 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.54%. Comparing base (c9269c0) to head (ccf274b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2315      +/-   ##
==========================================
+ Coverage   87.48%   87.54%   +0.05%     
==========================================
  Files          78       78              
  Lines        2973     2986      +13     
  Branches      853      854       +1     
==========================================
+ Hits         2601     2614      +13     
  Misses        337      337              
  Partials       35       35              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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.

Warn/error when a changeset references a package that won't be published (silently skipped)

1 participant