Skip to content

Unified: Enable on Arm64 - #22478

Merged
jketema merged 1 commit into
mainfrom
jketema/static-followup
Sep 1, 2026
Merged

Unified: Enable on Arm64#22478
jketema merged 1 commit into
mainfrom
jketema/static-followup

Conversation

@jketema

Copy link
Copy Markdown
Contributor

No description provided.

CopilotAI balanced review requested due to automatic review settings September 1, 2026 09:16
@jketema
jketema requested review from a team as code ownersSeptember 1, 2026 09:16
@jketemajketema added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Sep 1, 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.

Copilot review overview

🟡 Changes recommended

The documented packaging script still mislabels Arm64 builds as linux64.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity

New issues introduced by this change (1)
SeverityFinding
Medium severityunified/​BUILD.bazel — This enables the Bazel package path, but the documented unified/scripts/create-extractor-pack.sh
What changed in this PR

Enables building and packaging the Unified extractor on Linux Arm64.

Changes:

  • Packages the real Unified extractor for Linux Arm64.
  • Registers the Arm64 Swift toolchain.
FileDescription
unified/​BUILD.bazelEnables the Arm64 extractor binary.
MODULE.bazelExposes and registers the Arm64 Swift toolchain.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment threadunified/BUILD.bazel
exes = codeql_platform_select(
linux64 = ["//unified/extractor"],
linux_arm64 = ["//unified/extractor-unsupported-os:extractor"],
linux_arm64 = ["//unified/extractor"],

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Fair, but these are broken all over the place. We should probably find a way to get rid of most or all of them.

Comment threadunified/BUILD.bazel
Comment on lines 44 to 48
exes = codeql_platform_select(
linux64 = ["//unified/extractor"],
linux_arm64 = ["//unified/extractor-unsupported-os:extractor"],
linux_arm64 = ["//unified/extractor"],
osx64 = ["//unified/extractor"],
win64 = ["//unified/extractor-unsupported-os:extractor"],

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.

at this point we can simplify to

exes=codeql_platform_select(
win64= ["//unified/extractor-unsupported-os:extractor"],
otherwise= ["//unified/extractor"],
),

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Let me get this merged and do a small follow-up.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@jketema
jketema merged commit 7b2695b into mainSep 1, 2026
82 of 83 checks passed
@jketema
jketema deleted the jketema/static-followup branch September 1, 2026 12:31
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

depends on internal PRThis PR should only be merged in sync with an internal Semmle PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jketema@redsun82