LibreChat/.github/workflows
Danny Avila 97f7fcdbac
🥅 ci: Run Playwright After Merges to Dev and Guard Specs Under Test Selection (#18049)
* 🥅 ci: Run Playwright After Every Merge to Dev

The mock e2e suite ran on pull requests, nightly on main and on demand, so
when a spec broke on dev no run on dev could go red: the vote workflow that
runs the suite after merges cannot fail by design.

Add a push trigger for dev with the pull request path filter. A push runs
the pull request profile with no lane narrowed (10 memory shards, 2 Redis
transport shards, both MCP lanes and MCP Apps), and the gate job reports it.

Pushes take their own concurrency group that never cancels: the run in
progress finishes, and GitHub keeps one pending run per group, so merges
that land meanwhile collapse into one run of the newest commit. Pull
request, nightly and manual runs keep their per-ref cancelling group.

The matrix test now evaluates the workflow's own expressions per event
rather than matching their text.

* 🔭 ci: Always Run Source-Scanning Guard Specs Under Test Selection

Codegraph test selection narrows a pull request run to the test files an
import graph reaches. A spec that reads source with fs has no import edge
to what it reads: toolCapabilityGates.spec.js scans four source trees, was
not selected when #17864 changed one of the files it counts, and failed on
dev afterwards.

List every such spec, with the paths it reads, in .github/guard-specs.json.
Both selectors now add a workspace's guards to a FILES decision and turn a
NONE into a guards-only run when the change touches a path one of them
reads, renames a file, or edits the list. A list that cannot be read runs
the workspace FULL. FULL decisions and every earlier fail-open path are
unchanged.

The rule keys off the decision, not the event. A selection with no file
left in the checkout gets no guards, so the test job still runs FULL on a
stale selection instead of running only the guards.

guard-specs.test.mjs fails when a spec in a gated workspace reads the
repository through fs without being listed, when a listed path is missing,
and when a workflow would not run for a path one of its guards reads. That
last check adds the five backend and one frontend paths the triggers
lacked. The test also runs both real select steps against canned codegraph
responses.
2026-11-11 10:30:09 -05:00
..
a11y.yml 🚚 ci: Make Image Publishing Owner-Agnostic Ahead of the Org Move (#15952) 2026-09-14 22:09:59 -04:00
agents-integration-tests.yml 🧑‍✈️ feat: Enroll Machines Through Explicit Browser Approval (#17344) 2026-10-22 16:54:00 +02:00
backend-review.yml 🥅 ci: Run Playwright After Merges to Dev and Guard Specs Under Test Selection (#18049) 2026-11-11 10:30:09 -05:00
cache-integration-tests.yml 🧰 ci: Provision Pinned Redis Binaries Without a Distro Mirror (#18055) 2026-11-11 10:29:25 -05:00
change-quality.yml 🗄️ feat: Persist and Expire Background Responses (#17594) 2026-11-10 21:03:56 -08:00
channel-gateway.yml 🔧 fix: Fence Channel Startup and Transaction Capability (#17831) 2026-11-10 21:04:10 -08:00
client.yml 💉 chore: Upgrade Node.js to Security Release 24.22.1 (#17332) 2026-10-22 09:34:02 +02:00
codegraph-e2e-vote-gate.yml 🚦 ci: Throttle Codegraph E2E Votes to One Run per Window (#17380) 2026-10-24 08:50:20 +02:00
codegraph-e2e-votes.yml 🥅 ci: Run Playwright After Merges to Dev and Guard Specs Under Test Selection (#18049) 2026-11-11 10:30:09 -05:00
codegraph-select.yml 🪓 ci: Cull Stale Codegraph Select Runs (#15939) 2026-09-14 16:49:19 -04:00
data-provider.yml 🔁 ci: Skip the data-provider publish when its version is already on npm (#17639) 2026-10-29 22:12:24 +01:00
data-schemas.yml 💉 chore: Upgrade Node.js to Security Release 24.22.1 (#17332) 2026-10-22 09:34:02 +02:00
dev-branch-images.yml 📦 ci: Remove Legacy GHCR Mirror (#16585) 2026-09-30 23:43:11 -04:00
dev-images.yml 📦 ci: Remove Legacy GHCR Mirror (#16585) 2026-09-30 23:43:11 -04:00
dev-staging-images.yml 📦 ci: Remove Legacy GHCR Mirror (#16585) 2026-09-30 23:43:11 -04:00
docker-publish.yml 📦 ci: Remove Legacy GHCR Mirror (#16585) 2026-09-30 23:43:11 -04:00
docker-smoke.yml 🧾 feat: Add Skill Upload Reservation Helpers (#17041) 2026-10-16 09:05:04 -07:00
favorites-quality.yml 🪑 test: Verify Portable Resource Lease Ownership and Expiry (#17691) 2026-11-05 05:20:19 -05:00
frontend-review.yml 🥅 ci: Run Playwright After Merges to Dev and Guard Specs Under Test Selection (#18049) 2026-11-11 10:30:09 -05:00
frontend-windows-nightly.yml 💉 chore: Upgrade Node.js to Security Release 24.22.1 (#17332) 2026-10-22 09:34:02 +02:00
helmcharts.yml 🚚 ci: Make Image Publishing Owner-Agnostic Ahead of the Org Move (#15952) 2026-09-14 22:09:59 -04:00
langfuse-fanout.yml fix: patch Langfuse fanout Go certificate trust (#17663) 2026-10-31 05:02:25 +01:00
lighthouse.yml 🧰 ci: Provision Pinned Redis Binaries Without a Distro Mirror (#18055) 2026-11-11 10:29:25 -05:00
locize-i18n-sync.yml 💉 chore: Upgrade Node.js to Security Release 24.22.1 (#17332) 2026-10-22 09:34:02 +02:00
main-image-workflow.yml 🐳 feat: Publish Release-Matched Channel Gateway Images (#17784) 2026-11-10 21:04:08 -08:00
playwright-bombadil.yml 🛠️ feat: Add Slack Gateway Transport Adapters (#17616) 2026-11-10 21:04:05 -08:00
playwright-mock.yml 🥅 ci: Run Playwright After Merges to Dev and Guard Specs Under Test Selection (#18049) 2026-11-11 10:30:09 -05:00
pr-retarget-dev.yml 🏝️ ci: Keep Canary Pull Requests on Canary (#16285) 2026-09-24 06:03:34 -04:00
promote-main.yml 📦 feat: Scaffold the @librechat/chat Package (#16964) 2026-10-10 21:00:10 +02:00
promotion-tests.yml 🏰 ci: Gate Main Promotions on Approved Dev Commits (#16570) 2026-09-30 15:01:32 -04:00
readme-translate.yml 🌐 ci: Sync README Translations With AI (#16847) 2026-10-26 16:53:48 +01:00
retry-docker-builds.yml 🔧 fix: Fence Channel Startup and Transaction Capability (#17831) 2026-11-10 21:04:10 -08:00
static-checks.yml 🛠️ feat: Add Slack Gateway Transport Adapters (#17616) 2026-11-10 21:04:05 -08:00
sync-helm-chart-tags.yml 🧾 ci: Skip Workflows for Markdown-Only Changes (#14378) 2026-07-21 20:35:59 -04:00
tag-images.yml 🐳 feat: Publish Release-Matched Channel Gateway Images (#17784) 2026-11-10 21:04:08 -08:00
workspace-acceptance.yml 💉 chore: Upgrade Node.js to Security Release 24.22.1 (#17332) 2026-10-22 09:34:02 +02:00