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: expand Safari CI coverage to 6 specs and align whitelist scripts (#2228)

LearningCircuit9e693d6103be
diff --git a/.github/scripts/file-whitelist-check.sh b/.github/scripts/file-whitelist-check.sh
index b9626ce7bf..73f7635b23 100755
--- a/.github/scripts/file-whitelist-check.sh
+++ b/.github/scripts/file-whitelist-check.sh
@@ -8,6 +8,7 @@ set -euo pipefail
ALLOWED_PATTERNS=(
"\.py$"
"\.js$"
+"\.mjs$"
"\.html$"
"\.css$"
"\.json$"
@@ -49,7 +50,10 @@ ALLOWED_PATTERNS=(
"^\.trivyignore$"
"installers/.*\.(bat|ps1|iss|ico)$"
"docs/images/.*\.(png|jpg|jpeg|gif|svg)$"
+"docs/.*\.ps1$"
+"src/local_deep_research/web/static/sounds/.*\.mp3$"
"src/local_deep_research/web/static/favicon\.png$"
+"unraid-templates/.*\.xml$"
"tests/ui_tests/playwright/tests/.*-snapshots/.*\.png$"
)
diff --git a/.github/workflows/playwright-webkit-tests.yml b/.github/workflows/playwright-webkit-tests.yml
index 336732cea9..0aeab2f388 100644
--- a/.github/workflows/playwright-webkit-tests.yml
+++ b/.github/workflows/playwright-webkit-tests.yml
@@ -100,16 +100,19 @@ jobs:
TEST_BASE_URL: http://127.0.0.1:5000
TEST_USERNAME: test_admin
TEST_PASSWORD: testpass123
- # Safari CI runs a critical subset (3/20 specs) for fast release gate:
+ # Safari CI runs a critical subset (6/20 specs) for fast release gate:
# - all-pages-mobile: overflow, touch targets, nav clearance across all pages
+ # - auth-pages-mobile: login, register, change-password mobile layouts
# - desktop-layout: sidebar positioning and breakpoint testing
# - interactive-states: advanced options, search, help panels, mobile menus
+ # - settings-subpages-mobile: settings tab navigation and form layouts
+ # - mobile-ui-audit: comprehensive mobile UI quality checks
# Full suite (20 files): run locally via `cd tests/ui_tests/playwright && npm test`
# When adding Safari-critical tests, update this filter pattern.
run: |
npx playwright test \
--project="Desktop Safari" \
- "all-pages-mobile|desktop-layout|interactive-states"
+ "all-pages-mobile|auth-pages-mobile|desktop-layout|interactive-states|settings-subpages-mobile|mobile-ui-audit"
- name: Upload Playwright Report
if: always()
@@ -227,16 +230,19 @@ jobs:
TEST_BASE_URL: http://127.0.0.1:5000
TEST_USERNAME: test_admin
TEST_PASSWORD: testpass123
- # Safari CI runs a critical subset (3/20 specs) for fast release gate:
+ # Safari CI runs a critical subset (6/20 specs) for fast release gate:
# - all-pages-mobile: overflow, touch targets, nav clearance across all pages
+ # - auth-pages-mobile: login, register, change-password mobile layouts
# - desktop-layout: sidebar positioning and breakpoint testing
# - interactive-states: advanced options, search, help panels, mobile menus
+ # - settings-subpages-mobile: settings tab navigation and form layouts
+ # - mobile-ui-audit: comprehensive mobile UI quality checks
# Full suite (20 files): run locally via `cd tests/ui_tests/playwright && npm test`
# When adding Safari-critical tests, update this filter pattern.
run: |
npx playwright test \
--project="Mobile Safari" \
- "all-pages-mobile|desktop-layout|interactive-states"
+ "all-pages-mobile|auth-pages-mobile|desktop-layout|interactive-states|settings-subpages-mobile|mobile-ui-audit"
- name: Upload Playwright Report
if: always()
diff --git a/.pre-commit-hooks/file-whitelist-check.sh b/.pre-commit-hooks/file-whitelist-check.sh
index ca03e66ef8..a7d4f1909e 100755
--- a/.pre-commit-hooks/file-whitelist-check.sh
+++ b/.pre-commit-hooks/file-whitelist-check.sh
@@ -31,7 +31,7 @@ ALLOWED_PATTERNS=(
"^\.gitleaksignore$"
"^\.semgrepignore$"
"^\.trivyignore$"
- "\.semgrep/.*\.yml$"
+ "\.semgrep/.*\.(yml|yaml)$"
"^pytest\.ini$"
"^LICENSE$"
"^README$"
@@ -46,7 +46,8 @@ ALLOWED_PATTERNS=(
"^\.github/CODEOWNERS$"
"^\.github/.*\.(yml|yaml|md)$"
"installers/.*\.(bat|ps1|iss|ico)$"
- "docs/.*\.(png|jpg|jpeg|gif|svg)$"
+ "\.xml$"
+ "docs/images/.*\.(png|jpg|jpeg|gif|svg)$"
"docs/.*\.ps1$"
"src/local_deep_research/web/static/sounds/.*\.mp3$"
"src/local_deep_research/web/static/favicon\.png$"