Skip to content

chore(deps-dev): bump cpp-linter from 1.14.1 to 1.15.0 in the org group - #501

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/org-d4db3e9bba
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/org-d4db3e9bba

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor

Bumps the org group with 1 update: cpp-linter.

Updates cpp-linter from 1.14.1 to 1.15.0

Release notes

Sourced from cpp-linter's releases.

v1.15.0

🚀 New features and improvements

🐛 Bug fixes

👷 Changes for developers

📝 Documentation updates

📦 Dependency updates

Full Changelog: cpp-linter/cpp-linter@v1.14.1...v1.15.0

Commits
  • 5ada7a0 docs: update PR review caveats for reused reviews (#234)
  • 6677780 feat: migrate to git-bot-feedback (#226)
  • 8bf92db chore(dev): limit concurrent workflow runs (#230)
  • 68a928c chore: add funding.json manifest for FLOSS/fund (#231)
  • 1a27200 docs: add a Sponsors section to the README (#229)
  • 45de2fd chore(dev): pre-commit hooks autoupdate (#227)
  • 3754320 feat: redesign the comment footer with website, star and sponsor links (#228)
  • 0f93949 test: measure coverage by package name and cover the worker log fallback (#222)
  • 603fccc fix: use git, not the GitHub API, outside GitHub Actions (#221)
  • 9f6d17b build(deps): bump virtualenv from 20.36.1 to 21.7.13 (#225)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot
dependabot Bot requested a review from a team as a code owner October 15, 2026 18:53
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 15, 2026
@dependabot
dependabot Bot requested review from shenxianpeng and removed request for a team October 15, 2026 18:53
@dependabot dependabot Bot added semver:minor A minor version bump python:uv Pull requests that update python:uv code labels Oct 15, 2026
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-format (v16.0.6) reports: 2 file(s) not formatted
  • docs/examples/demo/demo.cpp
  • docs/examples/demo/demo.hpp
clang-tidy (v16.0.6) reports: 7 concern(s)

✨ Powered by cpp-linter -- ⭐ Star • ❤️ Sponsor • 💬 Feedback

@2bndy5

2bndy5 commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

We should probably run this branch through the test repo.

@shenxianpeng

Copy link
Copy Markdown
Member

I agree

Bumps the org group with 1 update: [cpp-linter](https://github.com/cpp-linter/cpp-linter).


Updates `cpp-linter` from 1.14.1 to 1.15.0
- [Release notes](https://github.com/cpp-linter/cpp-linter/releases)
- [Commits](cpp-linter/cpp-linter@v1.14.1...v1.15.0)

---
updated-dependencies:
- dependency-name: cpp-linter
  dependency-version: 1.15.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: org
...

Signed-off-by: dependabot[bot] <support@github.com>
@shenxianpeng
shenxianpeng force-pushed the dependabot/uv/org-d4db3e9bba branch from 7319830 to 53a13e5 Compare October 18, 2026 21:31
@shenxianpeng

shenxianpeng commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Ran this branch through the test repo (temporary PR cpp-linter/test-cpp-linter-action#64, now closed), next to a baseline of main (cpp-linter 1.14.1), on push and pull_request events.

Works the same as 1.14.1 on ubuntu-latest, ubuntu-24.04-arm, macos-latest and windows-latest:

  • thread comment: posted on the PR and updated in place on re-runs; on push it is a commit comment. New footer links present.
  • tidy-review / format-review: posted; on re-runs, comments already posted are reused and no new review is posted when nothing is new.
  • file annotations, step summary and the checks-failed outputs match the baseline.
  • auto-fix pushes the formatting commit.

Runs: https://github.com/cpp-linter/test-cpp-linter-action/actions/runs/38806552518 (pull_request), https://github.com/cpp-linter/test-cpp-linter-action/actions/runs/38806544496 (push)

Not caused by this PR:

  • windows-11-arm fails on main too: pygit2 1.18.1 has no win-arm64 wheel and the source build can't find git2.h.
  • The odd suggestions on [DO NOT MERGE] test cpp-linter-action#501 (cpp-linter 1.15.0) test-cpp-linter-action#64 (include reorder split into remove + add; the } insertion landing on line 26) come from v1 patch logic that is unchanged since 1.14.1. One suggestion was stale because my auto-fix job pushed while the review was running.
  • Cosmetic: the review body now contains the <!-- cpp linter action --> marker twice (cpp-linter adds it and git-bot-feedback adds it again).

Found since, and the reason to hold this PR:

  • GitHub Enterprise Server: with 1.15.0, git-bot-feedback joins API paths onto GITHUB_API_URL with Url::join, which drops the /v3 segment when the URL has no trailing slash (https://ghe.example.com/api/v3 -> https://ghe.example.com/api/repos/...), so API calls 404. Reproduced locally against a fake API server. 1.14.1 is fine.
  • --ignore=build no longer skips a nested src/build/ directory. Is this intended with the git-bot-feedback file filter?

Suggest keeping this open until a 1.15.x release fixes the GHES URL.

@2bndy5

2bndy5 commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Cosmetic: the review body now contains the <!-- cpp linter action --> marker twice (cpp-linter adds it and git-bot-feedback adds it again)

This should not be happening. I'll review the code in git-bot-feedback. It should automatically detect the marker is present before prepending it. Maybe that check was only applied to thread-comments.

GitHub Enterprise Server: with 1.15.0, git-bot-feedback joins API paths onto GITHUB_API_URL with Url::join, which drops the /v3 segment when the URL has no trailing slash (https://ghe.example.com/api/v3 -> https://ghe.example.com/api/repos/...), so API calls 404. Reproduced locally against a fake API server. 1.14.1 is fine.

Needs to be raised in git-bot-feedback repo.

--ignore=build no longer skips a nested src/build/ directory. Is this intended with the git-bot-feedback file filter?

Yes and no. Depends on what exactly was observed. git-bot-feedback will still traverse ignore paths in case there is an unignored rule for a nested file/folder.

Technically speaking, I think it is wrong if v1.14 ignored src/build when the ignore rule is only build, because it is not a glob pattern and build/ is different from src/build/.

Ultimately, there should be no files reported from /src/build (to borrow your example) if the --ignore=src/build and there is no unignored rules like !/src/build/*/CMakeCache.txt. There are tests to ensure this behavior, so if there's a regression, I need a reproduction case.

@2bndy5

2bndy5 commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

--ignore=build no longer skips a nested src/build/ directory. Is this intended with the git-bot-feedback file filter?

I looked into this more. First, I could not find evidence of this problem in the linked CI runs. Secondly, I think you stumbled upon a bug in v1.14. An ignore pattern of build is taken as a relative path to the repo-root. So, --ignore=build should not exclude sources from src/build/. However, --ignore=*/build/ should exclude from src/build/

I guess switching to git-bot-feedback abstracted (and fixed) that problem in v1.15. 🎉


I raised issues for the other 2 findings.


windows-11-arm fails on main too: pygit2 1.18.1 has no win-arm64 wheel and the source build can't find git2.h

Believe it or not, I'm the reason pygit2 now builds windows wheels with cibuildwheels in their CI. But when trying to add windows-arm64 builds, the build env needed too much special attention to feasibly create win-arm64 wheels. Maybe that's changed since the arm containers migrated to GH-controlled repo... IDK.

We could instead just remove pygit2 and switch to difflib or the third-party (pure-python) unidiff lib. Because the git-bot-feedback lib now does most of our diff parsing about changed files. pygit2 is really only used to get the diff between original source and clang tools' fixes.

2bndy5 pushed a commit to 2bndy5/git-bot-feedback that referenced this pull request Oct 20, 2026
Follow-up to #140.

Before: GraphQL requests used `api_url.join("/graphql")`. The leading
`/` replaces the whole path, so on GitHub Enterprise Server, where the
REST API is at `https://<host>/api/v3` and GraphQL is at
`https://<host>/api/graphql`, every GraphQL request (fetching existing
review threads, resolving or deleting old review comments, hiding
outdated reviews) went to `https://<host>/graphql` and failed.

After: the client reads the GraphQL endpoint from `GITHUB_GRAPHQL_URL`,
which GitHub runners set on both github.com
(`https://api.github.com/graphql`) and GHES
(`https://<host>/api/graphql`). When it is not set, it falls back to
`https://api.github.com/graphql`, the same way `GITHUB_API_URL` falls
back to `https://api.github.com`.

| Runner | GraphQL URL before | GraphQL URL after |
| --- | --- | --- |
| github.com | `https://api.github.com/graphql` |
`https://api.github.com/graphql` (unchanged) |
| GHES | `https://<host>/graphql` | `https://<host>/api/graphql` |

How: `GithubApiClient` stores the parsed `GITHUB_GRAPHQL_URL` in a
`graphql_url` field, used by all three GraphQL calls in `graphql.rs`.
The unit test `ensure_api_url_has_trailing_slash` checks the field, and
`tests/github_pr_reviews.rs` points `GITHUB_GRAPHQL_URL` at the mock
server.

Found while testing cpp-linter-action with cpp-linter 1.15.0
(cpp-linter/cpp-linter-action#501).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved GitHub integration when retrieving, closing, or hiding
outdated review comments.
* Added support for correctly connecting to GraphQL endpoints across
GitHub.com, GitHub Enterprise, and local server configurations.


<!-- end of auto-generated comment: release notes by coderabbit.ai -->

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code semver:minor A minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants