ci: install CodeChecker from PyPI - #1991
Draft
jpnurmi wants to merge 4 commits into
Draft
Conversation
The Snap Store intermittently returns 503 responses and timeouts while fetching CodeChecker prerequisites, failing otherwise unrelated CI jobs. Install a pinned PyPI release through the Python environment already configured by CI. Prefer the PyPI CodeChecker executable while retaining the lowercase Snap command as a fallback for local environments.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1991 +/- ##
==========================================
- Coverage 74.31% 74.29% -0.03%
==========================================
Files 104 104
Lines 25638 25638
Branches 4627 4627
==========================================
- Hits 19054 19047 -7
- Misses 5281 5289 +8
+ Partials 1303 1302 -1 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2c99d5a. Configure here.
jpnurmi
marked this pull request as draft
August 13, 2026 20:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Caution
Turns out the historical ~30-minute Snap jobs were false greens: every CodeChecker invocation said "No analysis is required" because
ldlogger.sofailed to preload. There were 19k preload errors and zero actual analyses in a recent successful Snap jobs.The Snap Store not only has an awfully old CodeChecker 6.21 (Nov 11, 2022) but also intermittently fails otherwise unrelated CI jobs.
Linux (GCC 13.3.0 + code-checker + valgrind:
or
This PR installs a working CodeChecker from PyPI. First of all, there are quite a few findings to either fix or suppress. Secondly, invoking CodeChecker via
cmake.pyis wrong because it repeatedly reanalyzes the whole project for every test build. The CI round would take several hours, so it needs to be moved into a separate job instead.