Skip to content

v0.4.11.2 feat(deep): Console-only deep run + operator-accept report refinement #798

v0.4.11.2 feat(deep): Console-only deep run + operator-accept report refinement

v0.4.11.2 feat(deep): Console-only deep run + operator-accept report refinement #798

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npx tsc --noEmit
- run: npm test
# AP1: rca-eval rubric gate. Scores a committed fixture of synthetic
# RCA reports against the current rubric and fails the build if the
# average drops below the threshold. Catches rubric regressions and
# report-shape changes without needing live DB state in CI. No
# untrusted input is interpolated; the fixture path is a hardcoded
# string committed to the repo.
- name: rca-eval rubric gate
run: npx tsx src/eval/rca-eval.ts --reports src/eval/fixtures/sample-rca-reports.json --min-score 75
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build:web
- run: npx playwright install --with-deps chromium
- run: npm run test:e2e
env:
CI: "1"
- if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 7