Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

ci(codeql): exclude tests/ from CodeQL scanning (#4047)

Tejas Choprac7a223dac050
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index 134012be6..7010bd203 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -129,6 +129,12 @@ jobs:
with:
languages: ${{ matrix.language }}
queries: security-extended
+ # Test code never ships. Its alerts were all test idioms (asserting a
+ # URL appears in output, a fake server binding 0.0.0.0), so scanning
+ # it only buried the real findings.
+ config: |
+ paths-ignore:
+ - tests
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4
diff --git a/tests/test_google_multimodal_e2e.py b/tests/test_google_multimodal_e2e.py
index 4eb9a021c..2b5e9b992 100644
--- a/tests/test_google_multimodal_e2e.py
+++ b/tests/test_google_multimodal_e2e.py
@@ -330,7 +330,7 @@ async def main():
print("=" * 60)
print("Google Gemini Multimodal E2E Tests")
print("=" * 60)
- print(f"Using API key: {api_key[:10]}...")
+ print("Using API key from environment")
results = []