Skip to content

Fix tidy build#1760

Merged
sayboras merged 2 commits intomainfrom
fix-tidy-build
Feb 24, 2026
Merged

Fix tidy build#1760
sayboras merged 2 commits intomainfrom
fix-tidy-build

Conversation

@jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Feb 24, 2026

Remove dependency @com_google_absl//absl/... as that caused build failures.

Change CI clang tidy check ref range from HEAD only to all the commits in the PR.

Add a new make target tidy-fix-head that runs clang tidy fixes on the files modified on the head commit only. This is useful in local development where running clang tidy on unchanged files wastes a lot of time.

First commit is factored out of #1754.

Ran make tidy-fix locally, hopefully CI agrees.

Added new make target tidy-fix-head that checks and fixes only the files
modified in the HEAD commit.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Check all the modified C++ sources in the PR, not just in the last commit.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme requested a review from a team as a code owner February 24, 2026 15:44
@jrajahalme jrajahalme requested a review from sayboras February 24, 2026 15:44
@sayboras sayboras merged commit ec2c6a4 into main Feb 24, 2026
7 checks passed
@sayboras sayboras deleted the fix-tidy-build branch February 24, 2026 21:03
jrajahalme added a commit that referenced this pull request Feb 25, 2026
Do not set ref on PR checkout for tidy so that ref range HEAD^1 HEAD
covers all the changes in the PR.

Fixes: #1760

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
jrajahalme added a commit that referenced this pull request Feb 25, 2026
Do not set ref on PR checkout for tidy so that ref range HEAD^1 HEAD
covers all the changes in the PR.

Fixes: #1760

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
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