Skip to content

Comments

PSMDB-1934: fix clang-tidy workflow#1673

Merged
plebioda merged 1 commit intomasterfrom
PSMDB-1934-fix-clang-tidy-workflow-master
Feb 2, 2026
Merged

PSMDB-1934: fix clang-tidy workflow#1673
plebioda merged 1 commit intomasterfrom
PSMDB-1934-fix-clang-tidy-workflow-master

Conversation

@plebioda
Copy link

Remove bazel cache, don't checkout shallow repo, explicitly fetch tags
for git describe.

@plebioda plebioda force-pushed the PSMDB-1934-fix-clang-tidy-workflow-master branch from c59848b to 417597c Compare January 30, 2026 17:28
Remove bazel cache, don't checkout shallow repo, explicitly fetch tags
for `git describe`, ignore changes in MODULE.bazel.lock for format
check.
@plebioda plebioda force-pushed the PSMDB-1934-fix-clang-tidy-workflow-master branch from 417597c to 21f3486 Compare January 30, 2026 17:56
@plebioda plebioda requested a review from Copilot January 30, 2026 18:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates CI workflows to make the clang-tidy job more reliable and to prevent spurious failures related to Bazel-generated files and Git tag resolution.

Changes:

  • In the format workflow, ignore changes to MODULE.bazel.lock when checking for uncommitted formatting changes so Bazel updates do not fail the job.
  • In the clang-tidy workflow, use a full-depth checkout and explicitly fetch tags to support git describe, and remove the Bazel cache step that is no longer desired.
  • Keep the existing clang-tidy SARIF cache and analysis steps intact while adjusting only the source checkout and tag handling.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/format.yml Ensures the formatting check disregards Bazel’s MODULE.bazel.lock updates before running git diff.
.github/workflows/clang-tidy.yml Adjusts checkout depth and tag fetching for reliable git describe usage and removes the Bazel build cache from the clang-tidy job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@plebioda plebioda requested review from igorsol and ktrushin January 30, 2026 18:15
Copy link

@ktrushin ktrushin left a comment

Choose a reason for hiding this comment

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

Looks good to me

@plebioda plebioda merged commit 174f77c into master Feb 2, 2026
10 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.

3 participants