Skip to content

Add --strict option to status command#1721

Open
jonatanschroeder wants to merge 2 commits intochangesets:mainfrom
jonatanschroeder:status-strict
Open

Add --strict option to status command#1721
jonatanschroeder wants to merge 2 commits intochangesets:mainfrom
jonatanschroeder:status-strict

Conversation

@jonatanschroeder
Copy link

Addresses the first part of #779. The status --strict option causes status to fail if any specific package is not included in the changeset. In essence, in monorepos, currently any changeset is accepted even if it doesn't address all changed packages. This option allows status --strict to be used, e.g., in CI for monorepos.

Quick note for information: while I have considered using the changesets bot instead of a status CI, the issue is that our repo includes multiple packages, and most PRs affect only ignored packages or private packages where a changeset is not needed, and the bot is very verbose in those cases. A CI is quiet when it needs to be.

@changeset-bot
Copy link

changeset-bot bot commented Sep 3, 2025

🦋 Changeset detected

Latest commit: 40c14bb

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 Minor

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

@codecov
Copy link

codecov bot commented Sep 3, 2025

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@ca0be26). Learn more about missing BASE report.
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
packages/cli/src/run.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1721   +/-   ##
=======================================
  Coverage        ?   80.79%           
=======================================
  Files           ?       54           
  Lines           ?     2270           
  Branches        ?      684           
=======================================
  Hits            ?     1834           
  Misses          ?      431           
  Partials        ?        5           

☔ View full report in Codecov by Sentry.
📢 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.

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