Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(ci): resolve all CI failures — pyyaml, fusion deps, sdk tsconfig, web lint, api tests

Beenu Aroraac4d280ed3a0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5cb94035c..752b96c70 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,8 +29,8 @@ jobs:
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
- - run: pnpm lint
- - run: pnpm tsc --noEmit
+ - run: pnpm run lint
+ - run: pnpm run type-check
# ──────────────────────────────────────────────
# Vitest smoke tests for the Next.js web app
@@ -158,7 +158,7 @@ jobs:
ENVIRONMENT: development
SECRET_KEY: ci-dummy-secret-key-at-least-32bytes!
DATABASE_URL: postgresql+asyncpg://x:x@localhost/x
- run: pytest tests/ -v --tb=short
+ run: python -m pytest tests/ -v --tb=short
- name: Run agents unit tests (Pillar-1 eval suites + audit helpers)
# `test_audit_helpers.py` imports `app.investigator.state` directly
# (it stubs out the package __init__ to avoid pulling in LangGraph),
@@ -194,7 +194,7 @@ jobs:
python-version: '3.12'
cache: pip
- name: Install minimal deps
- run: pip install --quiet pydantic pydantic-settings pytest
+ run: pip install --quiet pydantic pydantic-settings pytest pytest-asyncio structlog redis aioredis
- name: Run fusion unit tests
working-directory: services/fusion
run: python -m pytest tests/ -v --tb=short
@@ -375,6 +375,8 @@ jobs:
else
echo "No baseline yet — first run will publish one."
fi
+ - name: Install eval dependencies
+ run: pip install --quiet pyyaml pytest pytest-asyncio structlog
- name: Run all eval suites
# On PRs we additionally gate against the published baseline so a
# detection-as-code merge that drops MITRE accuracy by ≥ 1pp blocks
diff --git a/packages/sdk-ts/tsconfig.json b/packages/sdk-ts/tsconfig.json
index 0dcb6e3b0..0c21fb4dd 100644
--- a/packages/sdk-ts/tsconfig.json
+++ b/packages/sdk-ts/tsconfig.json
@@ -3,6 +3,7 @@
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
+ "ignoreDeprecations": "5.0",
"lib": ["ES2020", "DOM"],
"strict": true,
"declaration": true,