Skip to content

feat(embeddings): graph-enriched strategy + context window overflow detection #14

feat(embeddings): graph-enriched strategy + context window overflow detection

feat(embeddings): graph-enriched strategy + context window overflow detection #14

name: Embedding Regression
on:
schedule:
- cron: '0 6 * * 1' # Monday 6am UTC
workflow_dispatch:
pull_request:
paths:
- 'src/embedder.js'
- 'tests/search/**'
- 'package.json'
concurrency:
group: embedding-regression-${{ github.ref }}
cancel-in-progress: true
jobs:
embedding-regression:
runs-on: ubuntu-latest
name: Embedding regression tests
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm install
- name: Cache HuggingFace models
uses: actions/cache@v4
with:
path: ~/.cache/huggingface
key: hf-models-minilm-v1
- name: Run embedding regression tests
run: npx vitest run tests/search/embedding-regression.test.js