Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 10 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ jobs:
- name: Test
run: go test -race ./...

- name: Build CLI
run: go build -o agent-sandbox ./cmd/agent-sandbox/

- name: Build core binary
run: go build -o agent-sandbox-core ./cmd/agent-sandbox-core/

Expand All @@ -103,13 +100,6 @@ jobs:
echo "shellcheck not available, skipping"
fi

- name: Upload CLI binary
uses: actions/upload-artifact@v4
with:
name: agent-sandbox-linux
path: agent-sandbox
retention-days: 1

- name: Upload core binary
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -138,31 +128,23 @@ jobs:
run: |
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o core/gateway/bin/gateway-linux-amd64 ./core/gateway/cmd/gateway/

- name: Download CLI binary
uses: actions/download-artifact@v4
with:
name: agent-sandbox-linux

- name: Download core binary
uses: actions/download-artifact@v4
with:
name: agent-sandbox-core-linux

- name: Make binaries executable
run: chmod +x ./agent-sandbox ./agent-sandbox-core
run: chmod +x ./agent-sandbox-core

- name: Generate build artifacts
run: ./agent-sandbox generate --core=./core -C examples/${{ matrix.example }}

- name: Generate build artifacts (core binary)
run: ./agent-sandbox-core generate --core=./core -C examples/${{ matrix.example }}

- name: Start containers (smoke test)
env:
STX_LLM_GATEWAY_API_KEY: test-stub
TELEGRAM_BOT_TOKEN: test-stub
run: |
./agent-sandbox -C examples/${{ matrix.example }} compose up -d --build || true
./agent-sandbox-core -C examples/${{ matrix.example }} compose up -d --build || true
# Wait for gateway(s) to be healthy — proves mounts, config, and binary work.
# Agent and sidecars with stub credentials may crash; that's expected in CI.
for i in $(seq 1 30); do
Expand All @@ -173,19 +155,19 @@ jobs:
sleep 2
done
echo "ERROR: No healthy gateway after 60s"
./agent-sandbox -C examples/${{ matrix.example }} compose ps
./agent-sandbox -C examples/${{ matrix.example }} compose logs
./agent-sandbox-core -C examples/${{ matrix.example }} compose ps
./agent-sandbox-core -C examples/${{ matrix.example }} compose logs
exit 1

- name: Wait for agent entrypoint
run: sleep 5

- name: Audit security contract
run: ./agent-sandbox -C examples/${{ matrix.example }} audit || true
run: ./agent-sandbox-core -C examples/${{ matrix.example }} audit || true

- name: Teardown
if: always()
run: ./agent-sandbox -C examples/${{ matrix.example }} compose down -v
run: ./agent-sandbox-core -C examples/${{ matrix.example }} compose down -v

sandbox:
name: Sandbox (integration)
Expand All @@ -207,16 +189,16 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Download CLI binary
- name: Download core binary
uses: actions/download-artifact@v4
with:
name: agent-sandbox-linux
name: agent-sandbox-core-linux

- name: Make CLI executable
run: chmod +x ./agent-sandbox
run: chmod +x ./agent-sandbox-core

- name: Run sandbox integration tests
env:
CLI_PATH: ${{ github.workspace }}/agent-sandbox
CLI_PATH: ${{ github.workspace }}/agent-sandbox-core
CORE_PATH: ${{ github.workspace }}/core
run: tests/integration/sandbox/run.sh
28 changes: 0 additions & 28 deletions .github/workflows/release.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .goreleaser.yml

This file was deleted.

Loading
Loading