Clang-format won't recheck failures
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
People
(Reporter: rjl, Assigned: rjl)
Details
Attachments
(1 file)
The clang-format source-test task on comm- repositories only checks files that are changed in that push. This was done for the sake of time.
The unintended side effect is that if a failure is not noticed, mal-formatted files can lurk for weeks until a merge happens.
Proposed fixes:
A) Change the task configuration so that the files-changed portion is only used on try-c-c builds, all other repos would always check the full tree
B) Change the task so that on a Daily build (or a release repo push) the full tree is checked, try-c-c will always check changed files
C) Leave as is and add a cron task to run the check daily
I'm leaning towards option B. Implementation-wise, the full check could be set up as a separate task so that a full tree check can be forced on try-c-c by a developer.
| Assignee | ||
Comment 1•1 year ago
|
||
Removing the optimization config on comm-central prior to setting the paths
to format in the command resulted in an invalid command that always succeeded.
Add a variant that can be run through add-new-jobs to run format on the
entire tree for situations like this where mass-update is needed.
Updated•1 year ago
|
Pushed by rob@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/73736863b29e
Fix clang-format on comm-central. Add task to run on whole tree. r=dandarnell
Updated•11 months ago
|
Description
•