Skip to content

Fixed accidental success logs on failed npm publishes - #2113

Merged
bluwy merged 3 commits into
mainfrom
fix/false-positive-success-logs
Jun 24, 2026
Merged

Fixed accidental success logs on failed npm publishes#2113
bluwy merged 3 commits into
mainfrom
fix/false-positive-success-logs

Conversation

@Andarist

Copy link
Copy Markdown
Member

No description provided.

@Andarist
Andarist requested review from beeequeue and bluwy June 23, 2026 20:20
@changeset-bot

changeset-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5419723

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

log.success(
`Published ${c.blue(result.name)}@${c.green(result.version)}!`,
);
if (result.result === "published") {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it feels we should be printing errors here too (or successes elsewere) - this logging is a little bit spread out through the code right now. But I don't have time to refactor this right now.

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.49%. Comparing base (124ad07) to head (5419723).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2113      +/-   ##
==========================================
+ Coverage   85.12%   85.49%   +0.37%     
==========================================
  Files          66       66              
  Lines        2528     2531       +3     
  Branches      698      700       +2     
==========================================
+ Hits         2152     2164      +12     
+ Misses        346      337       -9     
  Partials       30       30              

☔ 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.

@bluwy
bluwy added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit b8222e6 Jun 24, 2026
18 of 20 checks passed
@bluwy
bluwy deleted the fix/false-positive-success-logs branch June 24, 2026 01:55
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