Closed
Bug 1985946
Opened 10 months ago
Closed 9 months ago
Verbose logs for mach lint aren't report logging from sub-processes
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox144 fixed)
RESOLVED
FIXED
144 Branch
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
This has been an issue for a while, though I've finally got around to investigating it. Running commands like the following only give the one line of output, and nothing from sub-processes.
% ./mach lint -l eslint toolkit/components/search -v
08:58:54.290 mozlint (49199) | setup for eslint finished in 0.3 seconds
Having dug around, the fix is to explicitly turn on logging for the sub-processes as well as the main process.
| Assignee | ||
Comment 1•10 months ago
|
||
This also adds some simple logging of exceptions raised from the sub-process. Whilst it doesn't cause the process to fail
it does at least mean the error is logged rather than thrown away.
Pushed by mbanner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/9ef4411d1c7c
https://hg.mozilla.org/integration/autoland/rev/a852deab6e69
Fix verbose logging from sub-processes when running 'mach lint'. r=linter-reviewers,sylvestre
Comment 3•9 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
status-firefox144:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•