[repo] fix unpublished CodeQL alert-suppression pack reference - #226
Merged
Conversation
…location advanced-security/*-alert-suppression isn't published to the CodeQL registry, so codeql database init failed with "not found in the registry" on the first live run. AlertSuppression.ql already ships inside each language's standard codeql/<lang>-queries pack (the same pack security-extended resolves against), so point at it there instead - no extra registry fetch required.
sethwv
added a commit
to swvn-dispatch/PluginsRepoV2
that referenced
this pull request
Aug 12, 2026
…tcharr#226) to pluginctl Rebasing onto upstream/main pulled in PR Dispatcharr#225's AlertSuppression fix and PR Dispatcharr#226's follow-up, but both only touched the old inline CodeQL block in validate-plugin.yml, which the pluginctl rewrite (4973a50) had already replaced with _codeql-scan.yml. Port the same fix into that architecture: point CodeQL init at codeql-config.yml (sourced from the trusted base-branch checkout, not the untrusted PR merge tree) and dedupe repeated data-flow sentences in pluginctl's process_message, matching PR Dispatcharr#225's jq logic.
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.
Summary
advanced-security/<lang>-alert-suppressionisn't published to the CodeQL registry, socodeql database initfailed with "not found in the registry" on the first live run.codeql/<lang>-queries:AlertSuppression.qlinstead - that's the built-in suppression query already shipped inside the samecodeql/<lang>-queriespacksecurity-extendedresolves against, so no extra registry fetch is needed.