Skip to content

build: bump cpp-linter to 2.0.0rc25 (v3) - #535

Merged
2bndy5 merged 1 commit into
v3.0.0-rc0from
claude/project-thread-kbgobw
Nov 17, 2026
Merged

2bndy5 merged 1 commit into
v3.0.0-rc0from
claude/project-thread-kbgobw

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Moves the v3 pin from cpp-linter==2.0.0rc24 (rs rc.25) to 2.0.0rc25 (rs v2.0.0-rc.26, on TestPyPI since today). uv.lock was regenerated with uv 0.13.8, so the lock revision stays 5; only the cpp-linter entry changes.

rc.26 brings the fixes found by the v3 stress test (cpp-linter/cpp-linter-rs#575): a non-UTF-8 file no longer aborts the run, a blank ignore no longer ignores every file, patches keep a missing final newline so auto-fix applies, renamed files are only linted on changed lines, plus clang-analyzer-* out of the rs default checks and the annotation-cap warning.

End-to-end test

test-cpp-linter-action branch claude/project-thread-kbgobw ran this branch next to v3.0.0-rc0:

  • Push run 44035442559, 45 jobs, 6 runners (ubuntu x64/arm64, macOS arm64/Intel, Windows x64/arm64), each with 5 cases:

    Case v3.0.0-rc0 this branch
    src/ only 11 checks (12 on Windows) same
    odd file names, Latin-1, CRLF, BOM, no final newline run aborts (Latin-1 file), exit 1 148 checks (135 on macOS), green
    ignore: '' 0 checks 18 checks
    15 clang-tidy warnings 15, no hint 15, plus a log warning that GitHub shows only 10
    broken .clang-format in one folder 2 2, with a warning annotation and "clang-format failed to run" in the summary
  • version on ubuntu-latest: '', 12 to 23, =21.1.8, >=17, <20, 22.1 all pass; 99 fails as expected. macOS and Windows with '', 12, 18, 23 pass, except '' on macOS (no clang-tidy on the runner's PATH; same as before).

  • Containers ubuntu:24.04, debian:12, fedora:43 pass.

  • Real PRs: test: rc.26 PR fixture (action v3 + cpp-linter 2.0.0rc25) test-cpp-linter-action#80 (this branch) posted a thread comment, a CHANGES_REQUESTED review with 6 suggestions and annotations, and auto-fix pushed a commit for all 5 changed files (including the Latin-1 one, still Latin-1, and the file without a final newline); the purely renamed file was not linted. test: rc.26 PR fixture, baseline (action v3.0.0-rc0 + 2.0.0rc24) test-cpp-linter-action#81 (v3.0.0-rc0) failed on all 3 runners and in auto-fix (Latin-1 abort).

Two small rs issues found in the same test have their own PRs (cpp-linter/cpp-linter-rs#587, cpp-linter/cpp-linter-rs#588); neither blocks this bump.

@shenxianpeng
shenxianpeng requested a review from a team as a code owner November 17, 2026 07:12
@shenxianpeng
shenxianpeng requested review from 2bndy5 and removed request for a team November 17, 2026 07:12
@shenxianpeng shenxianpeng added dependencies Pull requests that update a dependency file semver:patch Overrides the PR title: bump the patch version labels Nov 17, 2026 — with Claude
@shenxianpeng shenxianpeng self-assigned this Nov 17, 2026
@2bndy5
2bndy5 merged commit eb04e64 into v3.0.0-rc0 Nov 17, 2026
4 checks passed
@2bndy5
2bndy5 deleted the claude/project-thread-kbgobw branch November 17, 2026 07:52
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 semver:patch Overrides the PR title: bump the patch version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants