Skip to content

ADFA-5189 | Package for arm64-v8a only - #78

Merged
jatezzz merged 2 commits into
mainfrom
fix/ADFA-5189-abifilters-arm64-only
Aug 26, 2026
Merged

ADFA-5189 | Package for arm64-v8a only#78
jatezzz merged 2 commits into
mainfrom
fix/ADFA-5189-abifilters-arm64-only

Conversation

@jatezzz

@jatezzzjatezzz commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description

This PR limits the native library packaging for the ai-agent-local plugin to arm64-v8a only. Since the IDE extracts a single ABI and CoGo does not ship an x86 build, packaging other ABIs adds unnecessary download weight. It also implements build-time validation in Gradle and a unit test to prevent regressions if the AAR is improperly regenerated or filters are dropped.

Details

  • Added arm64-v8a to the abiFilters in the Gradle configurations.

  • Added an assemblePlugin validation step in build.gradle.kts to ensure the resulting .cgp package strictly contains the arm64-v8a ABI, failing the build otherwise.

  • Added PrebuiltAarAbiTest.kt to verify that the committed AAR carries the correct native libraries.

  • Updated documentation to reflect the arm64-v8a 64-bit ARM requirement and the reduced plugin size.

Before

before

After

after
Screen_Recording_20260821_150600_Code.on.the.Go.mp4

Ticket

ADFA-5189

Observation

The new validation step runs as the last action of the assemble task rather than a finalizer to ensure any compile errors are not buried under a "no .cgp found" failure in CI.

COGO App extracts a single ABI and ships no x86 build, so the AAR's other three ABIs were unusable download weight. Adds a verifyPluginAbis task and PrebuiltAarAbiTest so a dropped filter or bad AAR regeneration fails the build.
Refs: ADFA-5189

@claudeclaudeBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@jatezzz
jatezzz requested review from a team, Daniel-ADFA and dara-abijo-adfaAugust 24, 2026 19:52
Comment threadai-agent-local/build.gradle.kts
@jatezzz
jatezzz merged commit 62b1e4f into mainAug 26, 2026
1 check passed
@jatezzz
jatezzz deleted the fix/ADFA-5189-abifilters-arm64-only branch August 26, 2026 18:15
Sign up for freeto 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

@jatezzz@Daniel-ADFA