Skip to content

Fix clang tidy errors not detected as well as the errors#544

Merged
BewareMyPower merged 8 commits intoapache:mainfrom
BewareMyPower:bewaremypower/fix-clang-tidy
Mar 4, 2026
Merged

Fix clang tidy errors not detected as well as the errors#544
BewareMyPower merged 8 commits intoapache:mainfrom
BewareMyPower:bewaremypower/fix-clang-tidy

Conversation

@BewareMyPower
Copy link
Contributor

@BewareMyPower BewareMyPower commented Mar 4, 2026

In build-support/run_clang_tidy.sh, set +e will swallow the error of this script, so some clang tidy errors won't be detected by CI.

This patch fixes the script by adding set -e before running the tidy check, as well as fixing the code that violates the clang tidy rule. Additionally, fix the vcpkg cache that does not work if the workflow fails.

@BewareMyPower BewareMyPower changed the title fix clang tidy check does not fail for failures Fix clang tidy errors not detected as well as the errors Mar 4, 2026
@BewareMyPower BewareMyPower self-assigned this Mar 4, 2026
@BewareMyPower BewareMyPower added this to the 4.2.0 milestone Mar 4, 2026
@BewareMyPower BewareMyPower merged commit e290658 into apache:main Mar 4, 2026
30 of 32 checks passed
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