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.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
ci(api): add boot-test step to catch import-time errors (#154)
Tanmay Zade560963f3c4bc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 475be41fa..38eb6f376 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -172,6 +172,20 @@ jobs:cache: pip- name: Install API dependenciesrun: pip install --quiet ${{ env.API_DEPS }}+ # Boot-test: verify the FastAPI app can actually import without+ # NameError / ImportError before spending time on the full pytest+ # suite. PR #152 fixed two import-time NameErrors (model_validator,+ # rule_tuning) that CI never caught because pytest mocks imports and+ # never loads the real entrypoint. This step prevents that class of+ # regression from reaching main again.+ - name: Boot-test API service (catch import-time errors)+ working-directory: services/api+ env:+ ENVIRONMENT: development+ SECRET_KEY: ci-dummy-secret-key-at-least-32bytes!+ DATABASE_URL: postgresql+asyncpg://x:x@localhost/x+ run: |+ python -c "from app.main import app; print('api boot-test ok')"- name: Run API tests (unit + GraphQL schema)working-directory: services/apienv: