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): load env vars before lifecycle for batch mode #17713

Closed

Conversation

barbados-clemens
Copy link
Contributor

Current Behavior

when using batch mode the output style does not change to 'stream' causing odd terminal rendering.

Expected Behavior

when using batch mode the output style is set to 'stream'

Note:
these vars are loaded in getRunner as it's more testable than using runCommand, but loading in runCommand would be simpler code wise. Open to switching implementation. using runCommand could be used and tested via e2e, but in CI e2e is always static output so it would look like it "always" works with batch mode.

Related Issue(s)

Fixes #

@barbados-clemens barbados-clemens added the scope: core core nx functionality label Jun 21, 2023
@barbados-clemens barbados-clemens self-assigned this Jun 21, 2023
@vercel
Copy link

vercel bot commented Jun 21, 2023

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

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 6:37pm

@nx-cloud
Copy link

nx-cloud bot commented Jun 21, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 52faa17. 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 1 target

Sent with 💌 from NxCloud.

@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 Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: core core nx functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant