Skip to content

Complete query analysis parity plan #24

Complete query analysis parity plan

Complete query analysis parity plan #24

Workflow file for this run

name: Ops Checks
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
ops:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v2
with:
version: 0.15.2
- name: Cache vendored grammars
uses: actions/cache@v4
with:
path: |
vendored/grammars
vendored/tree_sitter
key: grammars-${{ hashFiles('scripts/fetch_grammars.sh') }}
- name: Fetch tree-sitter grammars
run: bash scripts/fetch_grammars.sh
- name: Build Zig binary
run: zig build
- name: Benchmark suite (zig-only)
run: |
CODEBASE_MEMORY_ZIG_BIN="${{ github.workspace }}/zig-out/bin/cbm" \
bash scripts/run_benchmark_suite.sh --zig-only --manifest testdata/bench/stress-manifest.json --report-dir .benchmark_reports/ops
- name: Soak suite
run: |
CODEBASE_MEMORY_ZIG_BIN="${{ github.workspace }}/zig-out/bin/cbm" \
bash scripts/run_soak_suite.sh --iterations 3 --report-dir .soak_reports/ci
- name: Security audit
run: bash scripts/run_security_audit.sh .security_reports/ci
- name: Upload operations reports
if: always()
uses: actions/upload-artifact@v4
with:
name: ops-reports
path: |
.benchmark_reports/ops/
.soak_reports/ci/
.security_reports/ci/