Running linters across the entire tree (with ./mach lint .) uses a single processor rather than multiple
Categories
(Developer Infrastructure :: Lint and Formatting, defect, P3)
Tracking
(firefox-esr91 wontfix, firefox97 wontfix, firefox98 wontfix, firefox99 wontfix, firefox115 fixed)
People
(Reporter: standard8, Assigned: standard8)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Bug 1369784 made it so that you have to enter ./mach lint -l eslint .
or ./mach eslint .
to run ESLint across the whole tree.
Unfortunately this means that we're now running ESLint in single-process mode rather than multiple.
Whilst you could use ./mach eslint *
this isn't necessarily enough as it doesn't lint the hidden files (.eslintrc.js
etc).
Comment 1•3 years ago
|
||
Set release status flags based on info from the regressing bug 1369784
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 2•3 years ago
|
||
:nisargkarun1997, since you are the author of the regressor, bug 1369784, could you take a look?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:ahal, since the bug has high priority and recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 4•3 years ago
•
|
||
Still an issue, though unclear how to fix and doesn't feel too major.
Maybe if we detect a single directory is passed in, we can automatically expand it out to the files / subdirs contain within it. Then we'd use multiple processes. Also this isn't ESLint specific.
Updated•3 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
Currently dot files (e.g. .eslintrc.js) are not checked in the full run on CI.
Also ignores .gradle/ directory as that it a cache.
Depends on D177260
Assignee | ||
Comment 7•2 years ago
|
||
(the black & ES failures were test failures that are resolved in the patches).
Comment 9•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/06496fa5b104
https://hg.mozilla.org/mozilla-central/rev/e2d7eedc3ba5
Description
•