mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-19 22:43:38 +00:00
🛠️ 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:
parent
1081a92f02
commit
5081850280
43 changed files with 4399 additions and 109 deletions
52
.github/workflows/channel-gateway.yml
vendored
Normal file
52
.github/workflows/channel-gateway.yml
vendored
Normal 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
|
||||
1
.github/workflows/codegraph-e2e-votes.yml
vendored
1
.github/workflows/codegraph-e2e-votes.yml
vendored
|
|
@ -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') }}
|
||||
|
||||
|
|
|
|||
2
.github/workflows/frontend-review.yml
vendored
2
.github/workflows/frontend-review.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/lighthouse.yml
vendored
2
.github/workflows/lighthouse.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/playwright-bombadil.yml
vendored
1
.github/workflows/playwright-bombadil.yml
vendored
|
|
@ -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') }}
|
||||
|
||||
|
|
|
|||
3
.github/workflows/playwright-mock.yml
vendored
3
.github/workflows/playwright-mock.yml
vendored
|
|
@ -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') }}
|
||||
|
||||
|
|
|
|||
2
.github/workflows/static-checks.yml
vendored
2
.github/workflows/static-checks.yml
vendored
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue