Instead of cutting the rendered text (which could leave open <details>
tags), list fewer warnings in changed files (200, 100, 50, 20) until the
report fits, then fall back to the summary tables with a link to the
workflow run. Long diagnostic messages are shortened to 300 characters.
Also drop the msys-style path conversion (/d/... -> d:/...), which
misread Linux paths with a single-letter top-level directory; the
save-build-log action already records Windows paths as D:/...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codacy enables both pydocstyle D212 and D213, which contradict each
other for multi-line docstrings. Keep the docstring to one line and
move the details into comments.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Use the full category of the previous CodeQL configuration
(.github/workflows/codeql-analysis.yml:analyze/language:cpp), so the
existing analysis keeps receiving results and its alerts get closed.
- warnings_report.py: rename the Warning tuple to CompilerWarning (it
shadowed the built-in), add docstrings for the __init__ methods and
start the module docstring on its first line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Lead with a one-line verdict for the files changed by the PR, and
flag builds whose log is missing.
- List warnings in changed files grouped by file, with links to the
source lines at the PR head commit and the builds that reported them
("all compilers" when every compiler build did).
- Separate compiler warnings from clang-tidy findings; clang-tidy's
re-reported compiler diagnostics are left to the compiler builds.
- Move whole-project breakdowns (by type, by file) into collapsed
sections, and link the workflow run in the footer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add ci.yml, which calls tier 1 (Linux GCC, Windows UCRT64), tier 2
(macOS Apple Clang / LLVM, Linux Clang), sanitizers and clang-tidy as
reusable workflows, then posts a single warnings report to the PR.
Every build saves its log via the new save-build-log composite action
(with the platform title and its workspace path, so Windows and macOS
paths can be mapped to repository paths). The report lists per-platform
counts of warnings in changed files and in total, and the unique
warnings across all platforms, with the platforms that reported each.
The called workflows keep workflow_dispatch for manual runs; their own
push / pull_request triggers and concurrency settings move to ci.yml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace clang-tidy.yml with warnings-report.yml, which builds with
clang-tidy 22 and with GCC 15 (project warning flags), then posts a
sticky PR comment with warnings in changed files and total warnings.
Warnings are deduplicated and limited to project files (dependencies,
system headers and generated files are excluded) by
.github/scripts/warnings_report.py. The comment is updated in place on
each push. For PRs from forks the token is read-only, so the report is
only written to the job summary.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>