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): pin sqlglot to the prod range in isolation-live (keep main green) (#441)

Beenu Aroraf404446a7ecd
diff --git a/.github/workflows/isolation-live.yml b/.github/workflows/isolation-live.yml
index e8c4303f2..a1b2a63b9 100644
--- a/.github/workflows/isolation-live.yml
+++ b/.github/workflows/isolation-live.yml
@@ -43,9 +43,14 @@ jobs:
python-version: "3.12"
- name: Install clients + test deps
+ # sqlglot MUST be pinned to the same range the API service ships
+ # (`>=23,<27`): the ClickHouse test runs the production
+ # lake_sql.rewrite_for_tenant, and sqlglot >= 27 silently stops
+ # injecting the tenant WHERE predicate (the tenant-isolation break this
+ # very gate exists to catch). test_lake_sql.py guards the pin itself.
run: >-
pip install --quiet
- pytest pytest-asyncio structlog sqlglot
+ pytest pytest-asyncio structlog "sqlglot>=23,<27"
neo4j "redis>=5,<6" clickhouse-driver "kafka-python>=2,<3"
# Single-container stores run as `services:`-style `docker run` so we can