Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not force quit Rollup or close stdout #5004

Merged
merged 3 commits into from May 21, 2023
Merged

Do not force quit Rollup or close stdout #5004

merged 3 commits into from May 21, 2023

Conversation

lukastaegert
Copy link
Member

reverts #4969, #4983

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

This basically reverts #4969 and #4983 as calling process.exit() or process.stdout.end() seems to break various workflows. Instead, we should find out what keeps Rollup from quitting in the first place, maybe some plugins?

@vercel
Copy link

vercel bot commented May 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2023 6:12pm

@github-actions
Copy link

github-actions bot commented May 20, 2023

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#no-force-quit

or load it into the REPL:
https://rollup-oo67yst6j-rollup-js.vercel.app/repl/?pr=5004

@codecov
Copy link

codecov bot commented May 20, 2023

Codecov Report

Merging #5004 (202a64d) into master (0fbb707) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 202a64d differs from pull request most recent head d6bf91a. Consider uploading reports for the commit d6bf91a to get more accurate results

@@           Coverage Diff           @@
##           master    #5004   +/-   ##
=======================================
  Coverage   98.96%   98.97%           
=======================================
  Files         222      222           
  Lines        8155     8157    +2     
  Branches     2241     2243    +2     
=======================================
+ Hits         8071     8073    +2     
  Misses         30       30           
  Partials       54       54           
Impacted Files Coverage Δ
cli/cli.ts 50.00% <100.00%> (-10.00%) ⬇️
src/utils/hookActions.ts 96.00% <100.00%> (+0.76%) ⬆️

@lukastaegert lukastaegert merged commit 020ccc3 into master May 21, 2023
7 of 8 checks passed
@lukastaegert lukastaegert deleted the no-force-quit branch May 21, 2023 19:28
@rollup-bot
Copy link
Collaborator

This PR has been released as part of rollup@3.22.1. You can test it via npm install rollup.

@NullVoxPopuli
Copy link

I will, thank you rollup-bot

@NullVoxPopuli
Copy link

3.23.0 does not resolve vercel/turbo#4983
nor does 3.22.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants