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(labels): add test:ui-full-shards label + wrapper workflow (#4067)

LearningCircuit0aee7f78f404
diff --git a/.github/labels.yml b/.github/labels.yml
index 8315511c79..2071b21cba 100644
--- a/.github/labels.yml
+++ b/.github/labels.yml
@@ -43,6 +43,12 @@
- name: 'test:e2e'
color: '1d76db'
description: Alias for test:puppeteer (same Puppeteer workflow). Apply one; both trigger the same job.
+# Full sharded UI test trigger (used by .github/workflows/ui-full-shards.yml).
+# Invokes docker-tests.yml with strict-mode=true so the 14-way ui-tests matrix
+# runs. Heavy — re-runs the full docker-tests job graph including pytest.
+- name: 'test:ui-full-shards'
+ color: '0e8a16'
+ description: Apply if PR touches puppeteer test infra or you want all 14 UI shards — costs ~45 min CI time.
# Human-only signal labels — must NOT be set by any workflow, bot, or AI
# reviewer. These exist to communicate a human judgement that automation
# cannot make. If you find a workflow or hook applying one of these,
diff --git a/.github/workflows/ui-full-shards.yml b/.github/workflows/ui-full-shards.yml
new file mode 100644
index 0000000000..33c657a8c0
--- /dev/null
+++ b/.github/workflows/ui-full-shards.yml
@@ -0,0 +1,42 @@
+name: UI Tests (Full 14 Shards via Label)
+
+# Triggered by adding the `test:ui-full-shards` label to a PR.
+# Calls docker-tests.yml with strict-mode=true so the sharded ui-tests
+# matrix runs — it's otherwise gated on strict-mode and only fires at
+# release time.
+#
+# NOTE on duplicated work: docker-tests.yml in strict mode runs its FULL
+# job graph (image build, pytest, infra, etc.), so triggering this label
+# re-runs everything that the normal PR docker-tests already ran. That's
+# acceptable cost for a deliberate opt-in trigger; cheaper than refactoring
+# docker-tests.yml to expose just ui-tests as a standalone reusable workflow.
+
+on:
+ pull_request:
+ types: [labeled]
+ # Manual fallback — useful for one-off maintainer runs and for smoke-testing
+ # the wrapper when label-triggered workflows can't fire (e.g. on the PR that
+ # first introduces this file, before it lands on main).
+ workflow_dispatch:
+
+# No concurrency group — intentionally omitted, matching docker-tests.yml.
+# See its top-level comment for the rationale (#3554 / #3599).
+
+permissions: {} # Minimal top-level for OSSF Scorecard Token-Permissions
+
+jobs:
+ full-shards:
+ name: Full UI Shards
+ # Fire on the label add, OR on any manual dispatch (maintainer override).
+ if: >-
+ github.event_name == 'workflow_dispatch' ||
+ (github.event_name == 'pull_request' &&
+ github.event.label.name == 'test:ui-full-shards')
+ uses: ./.github/workflows/docker-tests.yml
+ with:
+ strict-mode: true
+ permissions:
+ contents: write # Needed by docker-tests pytest job for gh-pages deployment
+ pull-requests: write # Needed by docker-tests pytest job for PR comments
+ secrets:
+ OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
diff --git a/docs/ci/workflow-status.md b/docs/ci/workflow-status.md
index c46190cc86..464d256e80 100644
--- a/docs/ci/workflow-status.md
+++ b/docs/ci/workflow-status.md
@@ -29,7 +29,7 @@
<!-- BEGIN GENERATED -->
-**65 workflows:** 1 disabled · 1 stale · 2 manual-only · 61 active
+**66 workflows:** 1 disabled · 1 stale · 2 manual-only · 62 active
## ⚠ Disabled workflows
@@ -123,6 +123,7 @@
| `mcp-tests.yml` | last 30 days | push:main,dev, PR, manual | [![status](https://github.com/LearningCircuit/local-deep-research/actions/workflows/mcp-tests.yml/badge.svg)](https://github.com/LearningCircuit/local-deep-research/actions/workflows/mcp-tests.yml) |
| `pr-triage.yml` | last 30 days | PR, pull_request_review | [![status](https://github.com/LearningCircuit/local-deep-research/actions/workflows/pr-triage.yml/badge.svg)](https://github.com/LearningCircuit/local-deep-research/actions/workflows/pr-triage.yml) |
| `release.yml` | last 30 days | push:main, manual | [![status](https://github.com/LearningCircuit/local-deep-research/actions/workflows/release.yml/badge.svg)](https://github.com/LearningCircuit/local-deep-research/actions/workflows/release.yml) |
+| `ui-full-shards.yml` | never | PR, manual | [![status](https://github.com/LearningCircuit/local-deep-research/actions/workflows/ui-full-shards.yml/badge.svg)](https://github.com/LearningCircuit/local-deep-research/actions/workflows/ui-full-shards.yml) |
| `version_check.yml` | last 30 days | push:main, manual | [![status](https://github.com/LearningCircuit/local-deep-research/actions/workflows/version_check.yml/badge.svg)](https://github.com/LearningCircuit/local-deep-research/actions/workflows/version_check.yml) |
| `welcome-first-time.yml` | last 30 days | PR-target | [![status](https://github.com/LearningCircuit/local-deep-research/actions/workflows/welcome-first-time.yml/badge.svg)](https://github.com/LearningCircuit/local-deep-research/actions/workflows/welcome-first-time.yml) |