Find removed CodeQL Actions modules before an analysis upgrade
A CodeQL upgrade can change more than the command-line executable. Custom queries compile against language libraries, and an import that worked with the previous library pack can stop the analysis before a database is queried. That is a different failure from a newly reported alert or a changed result set: the workflow may never reach the point where it produces results at all.
CodeQL 2.26.3 removes codeql.actions.security.SelfHostedQuery from the GitHub Actions library. GitHub’s changelog explains why: runner labels do not reliably distinguish self-hosted runners from managed runners. If a repository keeps custom Actions queries, check for that import before changing the CodeQL Action, CLI, or query-pack version.