feat: a lean ACP-only Goose binary (#11961)

This commit is contained in:
Jack Amadeo
2026-09-23 12:57:10 +00:00
committed by GitHub
parent 201837dffc
commit e678c3b64a
19 changed files with 505 additions and 219 deletions
+27 -3
View File
@@ -111,6 +111,30 @@ jobs:
env:
RUST_MIN_STACK: 8388608
rust-build-lean:
name: Build Lean ACP Binary
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.code == 'true' || github.event_name != 'pull_request'
steps:
- name: Checkout Code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
- name: Cache Cargo artifacts
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
key: lean-acp
- name: Build lean configuration and check its size budget
run: |
source ./bin/activate-hermit
# use the non-hermit rust toolchain because the rust-cache action does not
# play nicely with hermit-managed rust
hermit uninstall rustup
just check-lean-size
goose-sdk-uniffi:
name: Check goose-sdk UniFFI
runs-on: ubuntu-latest
@@ -177,10 +201,10 @@ jobs:
run: |
gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar'
export CARGO_INCREMENTAL=0
cargo test -p goose --no-default-features --features ${{ matrix.tls-feature }},code-mode,live-voice
cargo test -p goose --no-default-features --features ${{ matrix.tls-feature }},code-mode,tree-sitter,live-voice,scheduler,platform-apps,chat-recall,acp-http
cargo test -p goose-providers --no-default-features --features ${{ matrix.tls-feature }},live-websocket
cargo test -p goose-cli --no-default-features --features ${{ matrix.tls-feature }},code-mode,live-voice -- --skip scenario_tests::scenarios::tests
cargo test -p goose-cli --no-default-features --features ${{ matrix.tls-feature }},code-mode,live-voice --jobs 1 scenario_tests::scenarios::tests
cargo test -p goose-cli --no-default-features --features ${{ matrix.tls-feature }},code-mode,tree-sitter,live-voice,scheduler,platform-apps,chat-recall,acp-http -- --skip scenario_tests::scenarios::tests
cargo test -p goose-cli --no-default-features --features ${{ matrix.tls-feature }},code-mode,tree-sitter,live-voice,scheduler,platform-apps,chat-recall,acp-http --jobs 1 scenario_tests::scenarios::tests
env:
RUST_MIN_STACK: 8388608