Sitelet https://web.archive.org/web/20260623064720/https://github.com/github/codeql-action/pull/1617
Skip to content

Autobuild using CodeQL CLI#1617

Closed
henrymercer wants to merge 1 commit into
mainfrom
henrymercer/cli-autobuild
Closed

Autobuild using CodeQL CLI#1617
henrymercer wants to merge 1 commit into
mainfrom
henrymercer/cli-autobuild

Conversation

@henrymercer

@henrymercer henrymercer commented Mar 28, 2023 •

Copy link
Copy Markdown
Contributor

This PR implements autobuilding using the hidden database autobuild CLI subcommand. This simplifies the implementation of autobuild, opens the door to sharing more code between the CodeQL Action and third party CI for CodeQL, and enable us to more efficiently implement new features like improved diagnostics for autobuilders.

We will gradually roll this out for CodeQL CLI 2.12.6 and later using the code_scanning_cli_autobuild_enabled feature flag. While the CLI and Action implementation of autobuild is very similar, we will not enable this by default on GHES 3.9 to reduce risk.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@henrymercer henrymercer force-pushed the henrymercer/cli-autobuild branch 2 times, most recently from 6402e7b to 43d8ea1 Compare March 28, 2023 18:31
@henrymercer henrymercer force-pushed the henrymercer/cli-autobuild branch from 43d8ea1 to a8fecff Compare April 4, 2023 17:47
@henrymercer henrymercer marked this pull request as ready for review April 4, 2023 17:55
@henrymercer henrymercer requested a review from a team as a code owner April 4, 2023 17:55
@henrymercer henrymercer requested a review from angelapwen April 5, 2023 13:05
@henrymercer

Copy link
Copy Markdown
Contributor Author

Moving back to draft as there's some more work here to send telemetry about the set of languages we tried to autobuild and the language that failed, if relevant.

@henrymercer henrymercer marked this pull request as draft April 5, 2023 13:17
@angelapwen

Copy link
Copy Markdown
Contributor

Makes sense — let me know when you want me to take a look!

@henrymercer

Copy link
Copy Markdown
Contributor Author

Closing this in favour of using build modes and having database trace-command --use-build-mode determine how to extract the code.

@henrymercer henrymercer deleted the henrymercer/cli-autobuild branch February 28, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants