Uh oh!
There was an error while loading. Please reload this page.
ADFA-5189 | Package for arm64-v8a only - #78
Merged
Conversation
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
There was a problem hiding this comment.
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.
Uh oh!
There was an error while loading. Please reload this page.
Daniel-ADFA
approved these changes
Aug 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Description
This PR limits the native library packaging for the
ai-agent-localplugin toarm64-v8aonly. 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-v8ato theabiFiltersin the Gradle configurations.Added an
assemblePluginvalidation step inbuild.gradle.ktsto ensure the resulting.cgppackage strictly contains thearm64-v8aABI, failing the build otherwise.Added
PrebuiltAarAbiTest.ktto verify that the committed AAR carries the correct native libraries.Updated documentation to reflect the
arm64-v8a64-bit ARM requirement and the reduced plugin size.Before
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.