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.

fix: resolve release workflow startup_failure by removing OSV-Scanner from gate

LearningCircuit49efa6409825
diff --git a/.github/workflows/osv-scanner.yml b/.github/workflows/osv-scanner.yml
index 2ce5766f5a..f661d590e5 100644
--- a/.github/workflows/osv-scanner.yml
+++ b/.github/workflows/osv-scanner.yml
@@ -4,7 +4,13 @@
# documentation.
# OSV-Scanner for detecting vulnerabilities in dependencies.
-# Called by security-release-gate.yml to scan before releases.
+# Runs on PRs to catch vulnerable dependencies before merge (shift-left security).
+#
+# NOTE: This workflow is NOT included in security-release-gate.yml because
+# GitHub Actions limits reusable workflow nesting to 2 levels. Since this
+# workflow calls google/osv-scanner-reusable.yml, including it in the gate
+# would create 4 levels of nesting and cause startup_failure:
+# release.yml → security-release-gate.yml → osv-scanner.yml → google/osv-scanner-reusable.yml
#
# For more examples and options, including how to ignore specific vulnerabilities,
# see https://google.github.io/osv-scanner/github-action/
@@ -12,8 +18,13 @@
name: OSV-Scanner
on:
+ pull_request:
+ branches: [ "main" ]
+ merge_group:
+ branches: [ "main" ]
+ schedule:
+ - cron: '39 12 * * 1' # Weekly scan for newly disclosed CVEs
workflow_dispatch:
- workflow_call: # Called by security-release-gate.yml
permissions: {} # Minimal top-level for OSSF Scorecard Token-Permissions
diff --git a/.github/workflows/security-release-gate.yml b/.github/workflows/security-release-gate.yml
index c8719cd5c2..195c7bfe34 100644
--- a/.github/workflows/security-release-gate.yml
+++ b/.github/workflows/security-release-gate.yml
@@ -85,12 +85,16 @@ jobs:
# ============================================
# Dependency vulnerability scanning
# ============================================
- osv-scanner:
- uses: ./.github/workflows/osv-scanner.yml
- permissions:
- contents: read
- security-events: write
- actions: read
+ # NOTE: OSV-Scanner is intentionally NOT included in this gate.
+ #
+ # GitHub Actions limits reusable workflow nesting to 2 levels. Since:
+ # release.yml → security-release-gate.yml → osv-scanner.yml → google/osv-scanner-reusable.yml
+ # would create 4 levels, this causes startup_failure.
+ #
+ # OSV-Scanner runs on PRs instead (see osv-scanner.yml), which is better
+ # for shift-left security - catching vulnerable dependencies before merge.
+ #
+ # See: https://docs.github.com/en/actions/using-workflows/reusing-workflows#nesting-reusable-workflows
npm-audit:
uses: ./.github/workflows/npm-audit.yml
@@ -179,8 +183,7 @@ jobs:
- devskim-scan
- bearer-scan
- ossar-scan
- # Dependency scanning
- - osv-scanner
+ # Dependency scanning (OSV-Scanner runs on PRs, not here - see comment above)
- npm-audit
- retirejs-scan
# Container and IaC
@@ -282,13 +285,7 @@ jobs:
# ============================================
echo "" >> "$GITHUB_STEP_SUMMARY"
echo "### Dependency Vulnerability Scanning" >> "$GITHUB_STEP_SUMMARY"
-
- if [ "${{ needs.osv-scanner.result }}" = "success" ]; then
- echo "✅ **OSV-Scanner**: Passed" >> "$GITHUB_STEP_SUMMARY"
- else
- echo "❌ **OSV-Scanner**: ${{ needs.osv-scanner.result }}" >> "$GITHUB_STEP_SUMMARY"
- FAILED="true"
- fi
+ echo "ℹ️ **OSV-Scanner**: Runs on PRs (excluded from gate due to workflow nesting limits)" >> "$GITHUB_STEP_SUMMARY"
if [ "${{ needs.npm-audit.result }}" = "success" ]; then
echo "✅ **npm Audit**: Passed" >> "$GITHUB_STEP_SUMMARY"