Skip to content

[#31763] lint: Exclude tools from std::thread lint check#31762

Merged
es1024 merged 2 commits into
yugabyte:masterfrom
es1024:thread-tool-lint
May 20, 2026
Merged

[#31763] lint: Exclude tools from std::thread lint check#31762
es1024 merged 2 commits into
yugabyte:masterfrom
es1024:thread-tool-lint

Conversation

@es1024
Copy link
Copy Markdown
Contributor

@es1024 es1024 commented May 19, 2026

Ran src/lint/cpplint.py src/yb/rocksdb/tools/write_stress.cc and made sure std::thread error no longer appears.

@es1024 es1024 requested a review from hari90 May 19, 2026 22:45
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the cpplint.py script to exclude files containing the substring "tool" from the std::thread usage check. The reviewer noted that the "tool" substring is too generic and could lead to false negatives for library files; they recommended using a more specific pattern like "/tools/" to target standalone tools more precisely.

Comment thread src/lint/cpplint.py Outdated
@es1024 es1024 changed the title Exclude tools from std::thread lint check [#31763] lint: Exclude tools from std::thread lint check May 19, 2026
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@es1024 es1024 merged commit 3d8b1d7 into yugabyte:master May 20, 2026
3 checks passed
@es1024 es1024 deleted the thread-tool-lint branch May 20, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants