Open Bug 1835847 Opened 2 years ago Updated 2 years ago

clang-format yield different results based on the number of processes that it's span on

Categories

(Developer Infrastructure :: Lint and Formatting, defect, P3)

Tracking

(Not tracked)

People

(Reporter: andi, Unassigned)

References

Details

Having these runs:
GECKO_HEAD_REPOSITORY=https://hg.mozilla.org/try ./mach lint -v -j 4 -l clang-format -f treeherder -fjson:/Users/abpostelnicu/mozlint.json .
GECKO_HEAD_REPOSITORY=https://hg.mozilla.org/try ./mach lint -v -j 5 -l clang-format -f treeherder -fjson:/Users/abpostelnicu/mozlint.json .

The result is inconsistent.

While I was able to reproduce with clang-format, I wasn't able to reproduce with other linters (like ruff). I wonder if this could be somehow related to the individual lint implementations.

The severity field is not set for this bug.
:andi, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bpostelnicu)
Severity: -- → S3
Flags: needinfo?(bpostelnicu)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.