Skip to content

Adds static analysis to the ci - #4454

Merged
btovar merged 12 commits into
cooperative-computing-lab:masterfrom
btovar:fix/static-analysis-ci
Aug 20, 2026
Merged

Adds static analysis to the ci#4454
btovar merged 12 commits into
cooperative-computing-lab:masterfrom
btovar:fix/static-analysis-ci

Conversation

@btovar

@btovar btovar commented Aug 18, 2026

Copy link
Copy Markdown
Member

Checks only chunks of texts modified by a pr.
It also adds valgrind checks.

Merge Checklist

The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update: Update the manual to reflect user-visible changes.
  • Type Labels: Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels: Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM: Mark your PR as ready to merge.

@btovar btovar added the build For changes to the build and test infrastructure. label Aug 18, 2026
@btovar
btovar force-pushed the fix/static-analysis-ci branch 2 times, most recently from 11c579f to b278c2a Compare August 20, 2026 17:09
btovar and others added 12 commits August 20, 2026 13:28
uses native ubuntu rather than our docker images
…al-run bugs

Regenerated scan-build-suppressions.txt from a fresh two-pass --strict
scan-build run (263 confirmed findings, up from 136 -- checker names and
line numbers had drifted since the file was last generated).

Also fixes two bugs hit while regenerating locally in a conda dev shell:
- comm requires the same collation as sort, or it spuriously reports
  "not in sorted order" and aborts the script via set -e before it can
  report its outcome.
- ccc-analyzer/c++-analyzer default to plain gcc/g++ off PATH for their
  real compile step unless told otherwise, which can differ from the
  compiler this tree was actually configured with (e.g. conda's gcc vs.
  the distro's) and trip spurious -Werror failures under --strict that
  don't occur with the tree's own compiler.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Findings under third-party/vendored lua or sqlite paths are dropped in
scan-build-parse.py, the single point both the baseline-generation and
CI-comparison call sites go through, so they never enter the baseline
or get flagged as new. Also drops the now-stale dttools/src/luapatt.c
entries from the suppressions baseline.
Pins the scan-build job's clang version to match pixi.toml's local dev
env instead of drifting with whatever ubuntu-latest's default
clang-tools resolves to, since checker names/locations in
scan-build-suppressions.txt can shift across clang versions.
clang-tools-22 isn't in the apt archive before Ubuntu 26.04, so the job
now pins runs-on explicitly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@btovar
btovar force-pushed the fix/static-analysis-ci branch from b278c2a to 0f71903 Compare August 20, 2026 17:29
@btovar btovar changed the title Fix/static analysis ci Adds static analysis to the ci Aug 20, 2026
@btovar
btovar merged commit f4e3b63 into cooperative-computing-lab:master Aug 20, 2026
15 checks passed
@btovar
btovar deleted the fix/static-analysis-ci branch August 20, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build For changes to the build and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant