🛠️ feat: Add Slack Gateway Transport Adapters (#17616)

* 🛠️ feat: Add Slack Gateway Transport Adapters

* fix: Share Gateway Execution Wire Contracts and Preserve Stop Scope

* fix: Align Gateway Transport and Installation Contracts

* fix: Centralize Gateway Policy and Durable Stop Observations

* docs: Clarify Transport Adapter and Runtime Ownership

* fix: Separate Stop Event Identity From Execution Authority

* build: align gateway lock with current workspace toolchain

* 🛠️ fix: Cache Gateway Dependencies Across Shared CI Jobs
This commit is contained in:
Dustin Healy 2026-11-10 21:04:05 -08:00 • committed by GitHub
parent 1081a92f02
commit 5081850280
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 4399 additions and 109 deletions

52
.github/workflows/channel-gateway.yml vendored Normal file
View file

@ -0,0 +1,52 @@
name: Channel Gateway
on:
pull_request:
paths:
- 'packages/channel-gateway/**'
- 'packages/data-provider/**'
- 'package.json'
- 'package-lock.json'
- 'scripts/typecheck.mts'
- '.github/workflows/channel-gateway.yml'
push:
branches: [dev]
paths:
- 'packages/channel-gateway/**'
- 'packages/data-provider/**'
- 'package.json'
- 'package-lock.json'
- 'scripts/typecheck.mts'
- '.github/workflows/channel-gateway.yml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
gateway:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
SCARF_ANALYTICS: 'false'
HUSKY: '0'
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '24.22.1'
cache: npm
- name: Install gateway and shared contracts
run: npm ci --ignore-scripts --no-audit --workspace @librechat/channel-gateway --workspace librechat-data-provider --include-workspace-root=false
- name: Build shared contracts
run: npm run build --workspace librechat-data-provider
- name: Typecheck gateway
run: npm run typecheck --workspace @librechat/channel-gateway
- name: Test gateway
run: npm run test:ci --workspace @librechat/channel-gateway
- name: Build gateway
run: npm run build --workspace @librechat/channel-gateway

View file

@ -117,6 +117,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}

View file

@ -75,6 +75,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
@ -94,6 +95,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: ${{ steps.cache-node-modules.outputs.cache-primary-key }}
- run: google-chrome --version

View file

@ -51,6 +51,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
@ -72,6 +73,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: ${{ steps.cache-node-modules.outputs.cache-primary-key }}
- name: Install lockfile-pinned Chromium

View file

@ -58,6 +58,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}

View file

@ -215,6 +215,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}
@ -472,6 +473,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}
@ -619,6 +621,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}

View file

@ -181,6 +181,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: node-modules-e2e-${{ runner.os }}-24.22.1-${{ hashFiles('package-lock.json') }}
@ -203,6 +204,7 @@ jobs:
packages/data-provider/node_modules
packages/data-schemas/node_modules
packages/api/node_modules
packages/channel-gateway/node_modules
api/node_modules
key: ${{ steps.cache-node-modules.outputs.cache-primary-key }}