LibreChat/.github/workflows
Danny Avila 546f006e42
💬 feat: Serialize GitNexus Deploys and Post Completion Comments on PR Commands (#12623)
Three related changes that tighten the GitNexus CI/CD loop.

Serialized deploys
- Previous concurrency group was keyed by head ref with cancel-in-progress,
  which let deploys targeting different refs (e.g. main push + PR command)
  run in parallel. That's a data race: the prune-stale-indexes step
  computes active_names up front, so deploy A rsyncing
  /opt/gitnexus/indexes/LibreChat-pr-12580 can collide with deploy B
  pruning the same folder based on a pre-rsync view of the active set.
- Collapse to a single global group gitnexus-deploy with
  cancel-in-progress: false. All deploys queue behind one another.
  A rsync/docker-compose restart is never killed mid-operation.
  The 20-minute job timeout bounds queue depth.

PR completion feedback
- Add a "index complete" comment step in gitnexus-index.yml that
  fires only when inputs.pr_number is set (i.e. the run came via the
  /gitnexus command). Posts success or failure with a link to the
  run and whether embeddings were generated.
- Add a "deploy complete" comment step in gitnexus-deploy.yml that
  handles both trigger paths: workflow_run from a native PR auto-index
  (PR number recovered from the matrix entry whose runId matches the
  trigger run), and workflow_dispatch from the index workflow's bot-
  fallback path (PR number passed through as a new inputs.pr_number).
- Plumb inputs.pr_number through the bot-fallback dispatch in
  gitnexus-index.yml so the deploy workflow knows where to comment
  for command-triggered runs.
- Only comments on the PR that asked for the index, never broadcasts.

Workflow rename
- Drop the "DigitalOcean" suffix from the deploy workflow's display
  name and filename. The platform is still DO (.do/gitnexus/ still
  holds the compose + caddy config) but the workflow itself is
  platform-agnostic in form and the suffix was visual noise.
- File renamed gitnexus-deploy-do.yml -> gitnexus-deploy.yml.
- Concurrency group and all cross-references updated in lock-step.
- permissions at deploy job level now includes pull-requests: write
  so the completion comment can post.
2026-04-11 18:15:56 -04:00
..
a11y.yml 🤲 a11y: Sidebar Text Contrast (#3665) 2024-08-16 13:50:47 -04:00
backend-review.yml 🔬 ci: Add TypeScript Type Checks to Backend Workflow and Fix All Type Errors (#12451) 2026-03-28 21:06:39 -04:00
build.yml
cache-integration-tests.yml 🌊 feat: Resumable LLM Streams with Horizontal Scaling (#10926) 2025-12-19 12:14:19 -05:00
client.yml v0.8.1 (#10882) 2025-12-10 09:06:01 -05:00
data-provider.yml v0.8.1 (#10882) 2025-12-10 09:06:01 -05:00
data-schemas.yml v0.8.1 (#10882) 2025-12-10 09:06:01 -05:00
deploy-dev.yml 🐋 ci: update dev deployment script 2025-06-02 05:33:46 -04:00
deploy.yml
dev-branch-images.yml 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
dev-images.yml
dev-staging-images.yml 🐋 chore: Add Workflow for Docker Dev Staging Images Build 2025-11-27 12:26:37 -05:00
eslint-ci.yml 📡 refactor: MCP Runtime Config Sync with Redis Distributed Locking (#10352) 2025-12-11 16:36:15 -05:00
frontend-review.yml refactor: Parallelize CI Workflows with Isolated Caching and Fan-Out Test Jobs (#12088) 2026-03-05 13:56:07 -05:00
generate_embeddings.yml 🚀 feat: Add GitHub Actions Workflow for Generating Docs Embeddings (#2216) 2024-03-26 11:57:04 -04:00
gitnexus-cleanup-pr.yml 🌊 feat: Add GitNexus DigitalOcean Pipeline with PR Index Serving (#12612) 2026-04-11 13:04:46 -04:00
gitnexus-deploy.yml 💬 feat: Serialize GitNexus Deploys and Post Completion Comments on PR Commands (#12623) 2026-04-11 18:15:56 -04:00
gitnexus-index.yml 💬 feat: Serialize GitNexus Deploys and Post Completion Comments on PR Commands (#12623) 2026-04-11 18:15:56 -04:00
gitnexus-pr-command.yml 🧠 feat: Enable GitNexus Embeddings for Dev Branch and PR Indexes (#12620) 2026-04-11 13:35:29 -04:00
helmcharts.yml 🪖 ci: Helm OCI Publishing (#7256) 2025-08-11 16:21:05 -04:00
i18n-unused-keys.yml 🏷️ chore: Add Missing Localizations for Agents, Categories, Bookmarks (#9266) 2025-08-25 13:54:13 -04:00
locize-i18n-sync.yml 🌐 ci: Bump Locize i18n Action Version 2025-08-01 15:52:00 -04:00
main-image-workflow.yml 🐳 hotfix: Tag Images Workflow Update (#2272) 2024-04-01 19:04:37 -04:00
tag-images.yml 🐳 hotfix: Tag Images Workflow Update (#2272) 2024-04-01 19:04:37 -04:00
unused-packages.yml 🧵 refactor: Migrate Endpoint Initialization to TypeScript (#10794) 2025-12-11 16:37:16 -05:00