[SERVER-50165] parallelize clang-tidy task Created: 06/Aug/20  Updated: 29/Oct/23  Resolved: 28/Oct/20

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-51240 Add clang tidy rules to prevent const... Closed
related to SERVER-54210 add clang-tidy to commit queue tasks Closed
is related to SERVER-27984 Add clang-tidy run in addition to lint Closed
is related to SERVER-49800 add use-after-move rule to clang-tidy... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-11-02
Participants:

 Description   

Currently, it appears that the clang-tidy task invokes one command to scan the entire codebase sequentially, and thus takes multiple hours to complete. To get better use out of clang-tidy and encourage its use in a popular builder, we should change it to run individually on each source file, in a parallel fashion.



 Comments   
Comment by Githook User [ 28/Oct/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50165 reduce timeout for clang-tidy builder
Branch: master
https://github.com/mongodb/mongo/commit/a6ba20d8e596dae01e0d73f3427fb86f9b0fcae9

Comment by Githook User [ 28/Oct/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50165 parallelize clang-tidy task
Branch: master
https://github.com/mongodb/mongo/commit/95867b1e846e24ceeadf77425c2cef124c60f06f

Generated at Thu Feb 08 05:21:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.