Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

ci: add crash detection to semgrep scans (#2950)

LearningCircuit853f8ab157c7
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
index 751cb4ee74..b860a383bf 100644
--- a/.github/workflows/semgrep.yml
+++ b/.github/workflows/semgrep.yml
@@ -44,6 +44,11 @@ jobs:
--json \
--output=semgrep-results.json \
src/ || true
+ # Crash detection: if semgrep crashed, no output file was produced
+ if [ ! -f semgrep-results.json ]; then
+ echo "::error::Semgrep security scan crashed — no output produced"
+ exit 1
+ fi
- name: Run Semgrep custom rules for LDR
run: |
@@ -53,6 +58,11 @@ jobs:
--json \
--output=semgrep-custom-results.json \
src/ || true
+ # Crash detection: if semgrep crashed, no output file was produced
+ if [ ! -f semgrep-custom-results.json ]; then
+ echo "::error::Semgrep custom rules scan crashed — no output produced"
+ exit 1
+ fi
- name: Merge Semgrep results
run: |