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

build: disable webpack progress for CI #9791

Merged
merged 1 commit into from May 12, 2020
Merged

Conversation

ktmud
Copy link
Member

@ktmud ktmud commented May 12, 2020

SUMMARY

This disables webpack progress report for CI environment.

Webpack progress report generates excessive logs for the CI, making it difficult to find useful information.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

image

After: there should be no such excessive logs.

TEST PLAN

Make sure webpack progress report still show up in local dev environment, but not in CI (where CI=true is set for most CI tools).

ADDITIONAL INFORMATION

N/A

@@ -12,12 +12,12 @@
"test": "NODE_ENV=test jest",
"type": "tsc --noEmit",
"cover": "NODE_ENV=test jest --coverage",
"dev": "webpack --mode=development --colors --progress --debug --watch",
"dev-server": "NODE_ENV=development BABEL_ENV=development node --max_old_space_size=4096 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development --progress",
Copy link
Member

Choose a reason for hiding this comment

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

I don't mind it on dev and dev-server as it's something to watch, and helps me gauge when I should see the view refresh.

Copy link
Member Author

Choose a reason for hiding this comment

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

They will continue to report progress, as long as the environment variable CI is not set——which should be the case for most If not all users. This change is just for consistency’s sake.

Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

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

Thanks for clarification. LGTM.

@etr2460 etr2460 merged commit 0e7888c into apache:master May 12, 2020
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.37.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 0.37.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants