Repository navigation
Force codechecker action to run on Ubuntu 24.04 temporarily - #7386
Merged
Merged
Conversation
Codechecker uses the deprecated apt-key, which is not available on 26.04 Ubuntu move announcement: actions/runner-images#14748 Codechecker code: https://github.com/whisperity/CodeChecker-Action/blob/c1fbda08799d91447c007e18db31e423ee37fccd/src/get-llvm.sh#L14 Example of failing action run: https://github.com/xapi-project/xen-api/actions/runs/42589964777/job/129068937274?pr=7360 Move to 24.04 temporarily to fix the CI. Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
BengangY
approved these changes
Nov 10, 2026
changlei-li
approved these changes
Nov 10, 2026
Contributor
Author
|
I opened a PR to fix the upstream action: whisperity/CodeChecker-Action#10 |
mg12
added a commit
that referenced
this pull request
Nov 13, 2026
This updates feature/mig with the 75 commits that master has gained since the last merge, up to 0a1c669 (v26.24.0). One of them is #7386. It moves the "Static analyzer for OCaml C stubs" check to ubuntu-24.04, because CodeChecker uses apt-key, which ubuntu 26.04 no longer has. Without that change, the check fails on every pull request against feature/mig. Because feature/mig is protected, this is a merge commit, not a rebase. There was one conflict, in ocaml/idl/schematest.ml. last_known_schema_hash is recomputed for the merged datamodel, and schema_minor_vsn is master's 912. This is how #7346 handled the same conflict. Tested: built every directory under ocaml/, with the format checks of ocaml/idl, ocaml/xapi and ocaml/tests, and ran the ocaml/idl and ocaml/tests suites: all pass (2435 tests), including the schema test with the new hash.
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.
Codechecker uses the deprecated apt-key, which is not available on 26.04
Ubuntu move announcement:
actions/runner-images#14748
Codechecker code:
https://github.com/whisperity/CodeChecker-Action/blob/c1fbda08799d91447c007e18db31e423ee37fccd/src/get-llvm.sh#L14
Example of failing action run:
https://github.com/xapi-project/xen-api/actions/runs/42589964777/job/129068937274?pr=7360
Move to 24.04 temporarily to fix the CI.