Skip to content

Actions: Remove experimental self-hosted runner query - #22274

Merged
aschackmull merged 1 commit into
github:mainfrom
JarLob:remove/actions-self-hosted-runner-query
Aug 4, 2026
Merged

Actions: Remove experimental self-hosted runner query#22274
aschackmull merged 1 commit into
github:mainfrom
JarLob:remove/actions-self-hosted-runner-query

Conversation

@JarLob

Copy link
Copy Markdown
Contributor

Runner labels cannot reliably distinguish self-hosted runners from managed runners. Deprecate the supporting SelfHostedQuery library module.

Deleting the query because it is experimental. But the library is not, so deprecating it. Let me know if it is better delete both or deprecate both.

Runner labels cannot reliably distinguish self-hosted runners from managed runners. Deprecate the supporting SelfHostedQuery library module.
CopilotAI review requested due to automatic review settings August 3, 2026 18:58
@JarLob
JarLob requested a review from a team as a code ownerAugust 3, 2026 18:58
@github-actionsgithub-actionsBot added documentation Actions Analysis of GitHub Actions labels Aug 3, 2026

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the unreliable experimental self-hosted runner query while preserving and deprecating its public library module.

Changes:

  • Removed the experimental query and its test fixtures/results.
  • Deprecated SelfHostedQuery with an explanatory change note.
  • Updated query-suite expectations.
Show a summary per file
FileDescription
actions/ql/test/query-tests/Security/CWE-284/CodeExecutionOnSelfHostedRunner.qlrefRemoves the obsolete query reference.
actions/ql/test/query-tests/Security/CWE-284/CodeExecutionOnSelfHostedRunner.expectedRemoves obsolete expected results.
actions/ql/test/query-tests/Security/CWE-284/.github/workflows/test3.ymlRemoves a managed-runner fixture.
actions/ql/test/query-tests/Security/CWE-284/.github/workflows/test2.ymlRemoves a self-hosted-runner fixture.
actions/ql/test/query-tests/Security/CWE-284/.github/workflows/test1.ymlRemoves the primary query fixture.
actions/ql/src/experimental/Security/CWE-284/CodeExecutionOnSelfHostedRunner.qlDeletes the experimental query.
actions/ql/lib/codeql/actions/security/SelfHostedQuery.qllMarks the library module deprecated.
actions/ql/lib/change-notes/2026-08-03-deprecate-self-hosted-query.mdDocuments the deprecation.
actions/ql/integration-tests/query-suite/not_included_in_qls.expectedRemoves the deleted query from expected output.

Review details

  • Files reviewed: 9/9 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@aschackmull
aschackmull merged commit 2f2b4c8 into github:mainAug 4, 2026
22 checks passed
@JarLob

Copy link
Copy Markdown
ContributorAuthor

Just a check, what do you think about Deleting the query because it is experimental. But the library is not, so deprecating it. Let me know if it is better delete both or deprecate both.

@aschackmull

Copy link
Copy Markdown
Contributor

Just a check, what do you think about Deleting the query because it is experimental. But the library is not, so deprecating it. Let me know if it is better delete both or deprecate both.

It's probably fine. You could possibly also delete the library if you want.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ActionsAnalysis of GitHub Actionsdocumentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@JarLob@aschackmull