Skip to content

D4: Add bounded production agent adapters #77

D4: Add bounded production agent adapters

D4: Add bounded production agent adapters #77

Workflow file for this run

name: Agent isolation
on:
push:
branches: [main]
paths:
- 'agents/**'
- 'git/clone.ts'
- 'test/agent-*.test.ts'
- '.github/workflows/agent-isolation.yml'
pull_request:
paths:
- 'agents/**'
- 'git/clone.ts'
- 'test/agent-*.test.ts'
- '.github/workflows/agent-isolation.yml'
permissions:
contents: read
jobs:
real-docker:
runs-on: ubuntu-latest
# Covers the 10 min image build, 2 min teardown and the per-test Docker budgets.
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '26.7.0'
cache: npm
- run: npm ci --ignore-scripts
- run: npm run typecheck
# The Docker suites share one image tag and daemon, so run test files one at a time.
- run: npx vitest run --no-file-parallelism test/agent-contract.test.ts test/agent-clone.test.ts test/agent-container.test.ts test/agent-network.test.ts test/agent-policy.test.ts test/agent-proxy.test.ts test/agent-adapter.test.ts test/agent-supervisor.test.ts test/agent-output.test.ts