mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-06-20 03:55:44 +00:00
⏫ ci: Bump GitNexus to 1.6.7 to Fix Embeddings Index Timeout (#13658)
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
* ⏫ ci: Bump GitNexus to 1.6.7 to Fix Embeddings Index Timeout * ⏲️ ci: Raise GitNexus Index Timeout for 1.6.x Embedding Volume
This commit is contained in:
parent
4a9af12082
commit
b4fa200e5f
3 changed files with 10 additions and 8 deletions
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
FROM node:24.16.0-slim
|
||||
|
||||
ARG GITNEXUS_VERSION=1.6.5
|
||||
# Pin the native DB to match the index workflow; gitnexus's ^0.16.1 range
|
||||
ARG GITNEXUS_VERSION=1.6.7
|
||||
# Pin the native DB to match the index workflow; gitnexus's ^0.17.0 range
|
||||
# would otherwise let the served image drift from the CI-produced index.
|
||||
ARG LADYBUG_VERSION=0.16.1
|
||||
ARG LADYBUG_VERSION=0.17.1
|
||||
|
||||
# 1. Build native addons with Bookworm toolchain, then remove build tools.
|
||||
# curl stays for the docker healthcheck; Caddy lives in its own container.
|
||||
|
|
@ -33,7 +33,7 @@ RUN echo "deb http://deb.debian.org/debian trixie main" > /etc/apt/sources.list.
|
|||
# 3. Pre-install LadybugDB FTS + vector extensions so ~/.kuzu/extension/
|
||||
# is baked into the image. gitnexus serve loads extensions with a
|
||||
# load-only policy and never installs them at runtime, so the cache
|
||||
# must already exist. (GitNexus 1.6.5 loads the vector extension itself
|
||||
# must already exist. (GitNexus loads the vector extension itself
|
||||
# via loadVectorExtension — no adapter patch needed.)
|
||||
COPY install-extensions.js /tmp/install-extensions.js
|
||||
RUN node /tmp/install-extensions.js && rm -rf /tmp/install-extensions.js /tmp/lbug-ext-install
|
||||
|
|
|
|||
2
.github/workflows/gitnexus-deploy.yml
vendored
2
.github/workflows/gitnexus-deploy.yml
vendored
|
|
@ -84,7 +84,7 @@ concurrency:
|
|||
cancel-in-progress: false
|
||||
|
||||
env:
|
||||
GITNEXUS_VERSION: '1.6.5'
|
||||
GITNEXUS_VERSION: '1.6.7'
|
||||
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/librechat-gitnexus
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
8
.github/workflows/gitnexus-index.yml
vendored
8
.github/workflows/gitnexus-index.yml
vendored
|
|
@ -43,7 +43,7 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
GITNEXUS_VERSION: '1.6.5'
|
||||
GITNEXUS_VERSION: '1.6.7'
|
||||
|
||||
jobs:
|
||||
index:
|
||||
|
|
@ -63,7 +63,9 @@ jobs:
|
|||
github.event_name != 'pull_request' ||
|
||||
github.event.pull_request.user.login == 'danny-avila'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 25
|
||||
# Embedding generation dominates the budget: ~45 min worst case on
|
||||
# standard runners since the 1.6.x graph (~23k nodes) doubled vs 1.5.x.
|
||||
timeout-minutes: 60
|
||||
# Best-effort index: a tool-internal crash must not block PRs. Fail soft on
|
||||
# PR events; push/dispatch runs still fail loudly so regressions stay visible.
|
||||
continue-on-error: ${{ github.event_name == 'pull_request' }}
|
||||
|
|
@ -165,7 +167,7 @@ jobs:
|
|||
--no-save \
|
||||
--no-package-lock \
|
||||
"gitnexus@${{ env.GITNEXUS_VERSION }}" \
|
||||
"@ladybugdb/core@0.16.1"
|
||||
"@ladybugdb/core@0.17.1"
|
||||
test -x "$RUNNER_TEMP/gitnexus-cli/node_modules/.bin/gitnexus"
|
||||
|
||||
- name: Checkout repository
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue