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

fix(core): swap default method for output capture #12535

Merged

Conversation

AgentEnder
Copy link
Member

BREAKING CHANGE: Swaps from direct-nodejs to pipe for default output capture mechanism. Less accurate for executors that don't use child process, but still works for generic case. Previous behaviour still available through opt-in

@nx-cloud-staging
Copy link

nx-cloud-staging bot commented Oct 11, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 1940a08. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 12 targets

Sent with 💌 from NxCloud.

@vercel
Copy link

vercel bot commented Oct 11, 2022

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

Name Status Preview Updated
nx-dev ✅ Ready (Inspect) Visit Preview Oct 12, 2022 at 9:55PM (UTC)

BREAKING CHANGE: Swaps from direct-nodejs to pipe for default output capture mechanism. Less accurate for executors that don't use child process, but still works for generic case. Previous behaviour still available through opt-in
Copy link
Collaborator

@FrozenPandaz FrozenPandaz left a comment

Choose a reason for hiding this comment

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

Please check these afterwards

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xiongemi The output capture might be wrong here.

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xiongemi The output capture might be wrong here

"default": []
},
"format": {
"type": "array",
"description": "List of module formats to output. Defaults to matching format from tsconfig (e.g. CJS for CommonJS, and ESM otherwise).",
"description": "Set the output format(s).",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Double check this

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xiongemi Check the output capture of these executors as well

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Check if this prints correctly

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

@jaysoo Check this output capture

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

The output capture might be wrong here.

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xiongemi These output captures might be wrong

@@ -1,4 +1,6 @@
{
"version": 2,
"outputCapture": "direct-nodejs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this output capture correct?

Copy link
Member Author

@AgentEnder AgentEnder left a comment

Choose a reason for hiding this comment

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

Merging for v15

@AgentEnder AgentEnder force-pushed the chore/swap-default-output-capture-method branch from c58a923 to 1940a08 Compare October 12, 2022 21:52
@AgentEnder AgentEnder enabled auto-merge (squash) October 12, 2022 21:52
@AgentEnder AgentEnder merged commit 8ab7f85 into nrwl:master Oct 12, 2022
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants