~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: resolve CI check failures in GitHub Actions workflows (#1197)
LearningCircuit94d9f08dd52d
diff --git a/.github/scripts/check-file-writes.sh b/.github/scripts/check-file-writes.shindex d9d14b11ae..dcd8d2fc5c 100755--- a/.github/scripts/check-file-writes.sh+++ b/.github/scripts/check-file-writes.sh@@ -116,6 +116,7 @@ SEARCH_PATHS="src/"# Single pass to collect all matchesfor pattern in "${SUSPICIOUS_PATTERNS[@]}"; do# Use grep with binary files excluded and max line length to avoid issues with minified files+ # shellcheck disable=SC2086 # Word splitting is intentional for EXCLUDE_ARGSmatches=$(grep -rn -I $EXCLUDE_ARGS -- "$pattern" $SEARCH_PATHS --include="*.py" --include="*.js" --include="*.ts" 2>/dev/null | head -1000 || true)if [ -n "$matches" ]; thenALL_MATCHES="$ALL_MATCHES$matches\n"@@ -123,16 +124,19 @@ for pattern in "${SUSPICIOUS_PATTERNS[@]}"; dodone# Also check for specific problematic patterns in one pass+# shellcheck disable=SC2086 # Word splitting is intentional for EXCLUDE_ARGStemp_matches=$(grep -rn -I $EXCLUDE_ARGS -E "tmp_path|tempfile|/tmp/" $SEARCH_PATHS --include="*.py" 2>/dev/null | head -500 || true)if [ -n "$temp_matches" ]; thenALL_MATCHES="$ALL_MATCHES$temp_matches\n"fi+# shellcheck disable=SC2086 # Word splitting is intentional for EXCLUDE_ARGSdb_matches=$(grep -rn -I $EXCLUDE_ARGS -E "report_content.*open|report_content.*write|markdown_content.*open|markdown_content.*write" $SEARCH_PATHS --include="*.py" 2>/dev/null | head -500 || true)if [ -n "$db_matches" ]; thenALL_MATCHES="$ALL_MATCHES$db_matches\n"fi+# shellcheck disable=SC2086 # Word splitting is intentional for EXCLUDE_ARGSexport_matches=$(grep -rn -I $EXCLUDE_ARGS -E "export.*Path|export.*path\.open|export.*\.write" $SEARCH_PATHS --include="*.py" 2>/dev/null | head -500 || true)if [ -n "$export_matches" ]; thenALL_MATCHES="$ALL_MATCHES$export_matches\n"diff --git a/.github/workflows/check-css-classes.yml b/.github/workflows/check-css-classes.ymlindex 0d22b3b473..5f69f74de8 100644--- a/.github/workflows/check-css-classes.yml+++ b/.github/workflows/check-css-classes.yml@@ -17,6 +17,10 @@ on:- ".pre-commit-hooks/check-css-class-prefix.py"workflow_dispatch: # Allow manual triggering+permissions:+ contents: read+ pull-requests: write+jobs:check-css-classes:name: Check CSS Class Prefixesdiff --git a/.github/workflows/mobile-ui-tests.yml b/.github/workflows/mobile-ui-tests.ymlindex fbe91c32a4..5ce5dd9c00 100644--- a/.github/workflows/mobile-ui-tests.yml+++ b/.github/workflows/mobile-ui-tests.yml@@ -18,6 +18,10 @@ on:- 'tests/ui_tests/**'workflow_dispatch:+permissions:+ contents: read+ checks: write+jobs:mobile-ui-tests:runs-on: ubuntu-latestdiff --git a/.github/workflows/notification-tests.yml b/.github/workflows/notification-tests.ymlindex 6c60f4fd4a..b407a1c5ed 100644--- a/.github/workflows/notification-tests.yml+++ b/.github/workflows/notification-tests.yml@@ -13,6 +13,9 @@ on:- 'tests/notifications/**'workflow_dispatch:+permissions:+ contents: read+jobs:test-notifications:runs-on: ubuntu-latestdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 55453e9515..49d45ac670 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -190,15 +190,15 @@ jobs:run: |# Set prerelease flag if neededPRERELEASE_FLAG=""- if [ "${{ github.event.inputs.prerelease }}" == "true" ]; then+ if [ "$INPUT_PRERELEASE" == "true" ]; thenPRERELEASE_FLAG="--prerelease"fi# Create the release using GitHub CLI with auto-generated notes# Includes SBOM files, Sigstore signatures, and SLSA provenance- gh release create "${{ needs.build.outputs.tag }}" \- --repo "${{ github.repository }}" \- --title "Release ${{ needs.build.outputs.version }}" \+ gh release create "$RELEASE_TAG" \+ --repo "$GITHUB_REPOSITORY" \+ --title "Release $RELEASE_VERSION" \--generate-notes \$PRERELEASE_FLAG \sbom-spdx.json \@@ -211,6 +211,9 @@ jobs:env:# Use PAT instead of GITHUB_TOKEN to trigger downstream workflowsGITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}+ RELEASE_TAG: ${{ needs.build.outputs.tag }}+ RELEASE_VERSION: ${{ needs.build.outputs.version }}+ INPUT_PRERELEASE: ${{ github.event.inputs.prerelease }}trigger-workflows:needs: [build, create-release]@@ -222,6 +225,9 @@ jobs:steps:- name: Trigger Docker publish workflowuses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7+ env:+ RELEASE_TAG: ${{ needs.build.outputs.tag }}+ INPUT_PRERELEASE: ${{ github.event.inputs.prerelease }}with:github-token: ${{ secrets.PAT_TOKEN }}script: |@@ -230,14 +236,17 @@ jobs:repo: context.repo.repo,event_type: 'publish-docker',client_payload: {- tag: '${{ needs.build.outputs.tag }}',- prerelease: ${{ github.event.inputs.prerelease || false }}+ tag: process.env.RELEASE_TAG,+ prerelease: process.env.INPUT_PRERELEASE === 'true'}});console.log('Triggered Docker publish workflow');- name: Trigger PyPI publish workflowuses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7+ env:+ RELEASE_TAG: ${{ needs.build.outputs.tag }}+ INPUT_PRERELEASE: ${{ github.event.inputs.prerelease }}with:github-token: ${{ secrets.PAT_TOKEN }}script: |@@ -246,15 +255,17 @@ jobs:repo: context.repo.repo,event_type: 'publish-pypi',client_payload: {- tag: '${{ needs.build.outputs.tag }}',- prerelease: ${{ github.event.inputs.prerelease || false }}+ tag: process.env.RELEASE_TAG,+ prerelease: process.env.INPUT_PRERELEASE === 'true'}});console.log('Triggered PyPI publish workflow');- name: Summary+ env:+ RELEASE_VERSION: ${{ needs.build.outputs.version }}run: |- echo "Release ${{ needs.build.outputs.version }} created successfully!"+ echo "Release $RELEASE_VERSION created successfully!"echo "Triggered PyPI and Docker publishing workflows via repository_dispatch"echo "SBOM files (SPDX, CycloneDX) attached to release"echo "Sigstore signatures (.sig, .pem) attached for verification"diff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.ymlindex 15a02c0391..9ce0ac64a2 100644--- a/.github/workflows/responsive-ui-tests-enhanced.yml+++ b/.github/workflows/responsive-ui-tests-enhanced.yml@@ -4,17 +4,9 @@ on:pull_request:branches: [ main, dev ]workflow_dispatch:- inputs:- viewport_type:- description: 'Viewport type to test'- required: false- default: 'all'- type: choice- options:- - all- - mobile- - tablet- - desktop++permissions:+ contents: readjobs:ui-tests:diff --git a/.github/workflows/security-file-write-check.yml b/.github/workflows/security-file-write-check.ymlindex 2bc878dc5e..2af955be3f 100644--- a/.github/workflows/security-file-write-check.yml+++ b/.github/workflows/security-file-write-check.yml@@ -16,6 +16,9 @@ on:- '**/*.js'- '**/*.ts'+permissions:+ contents: read+jobs:check-file-writes:name: Check for Unencrypted File Writes