Skip to content

feat(surrogate): implement in-memory volatile decoy surrogate redactor (Phase 1) #193

feat(surrogate): implement in-memory volatile decoy surrogate redactor (Phase 1)

feat(surrogate): implement in-memory volatile decoy surrogate redactor (Phase 1) #193

Workflow file for this run

name: CI Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: read-all
jobs:
test:
name: Test (Node ${{ matrix.node }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [20, 22, 24]
steps:
- name: Configure Git line endings
run: git config --global core.autocrlf false
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
version: 9
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check Formatting & Lint
run: pnpm run lint
- name: Build Bundles
run: pnpm run build
- name: Run Test Suite
run: pnpm test
- name: Setup Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.11"
- name: Run Python SDK Tests
run: python -m unittest discover -s sdks/python/tests
- name: Run Performance Benchmark
run: pnpm run benchmark
- name: Verify Packaging Gate
run: npm pack --dry-run
- name: Dogfood AgentShield CI Security Gate
if: runner.os == 'Linux'
run: npx tsx src/cli.ts ci --base HEAD~1