Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
- name: Run tests with coverage
run: npm run test:coverage

- name: Coverage threshold check
run: node scripts/ci-coverage-check.js --tier integration --verbose

- name: Upload coverage artifact
if: always()
uses: actions/upload-artifact@v7
Expand Down Expand Up @@ -178,22 +181,18 @@ jobs:

- name: Generate API documentation
run: npx typedoc
continue-on-error: true

- name: Download benchmark report
uses: actions/download-artifact@v4
with: { name: benchmark-report, path: docs/benchmark }
continue-on-error: true

- name: Download web benchmark report
uses: actions/download-artifact@v4
with: { name: web-benchmark-report, path: docs/web-benchmark }
continue-on-error: true

- name: Download coverage report
uses: actions/download-artifact@v4
with: { name: coverage-report, path: docs/coverage }
continue-on-error: true

- name: Generate combined benchmark report
run: |
Expand All @@ -206,7 +205,6 @@ jobs:
else
echo "[deploy-pages] Skipping combined benchmark (missing benchmark data)"
fi
continue-on-error: true

- name: Prepare pages
run: node scripts/prepare-pages.js
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:

- name: Unit Tests (no ONNX model needed)
run: npm run test:unit:coverage
continue-on-error: true

- name: Upload unit coverage
if: always()
Expand Down Expand Up @@ -81,12 +80,10 @@ jobs:
run: npm run test:coverage
env:
EMBED_CODE_MODEL_PATH: models/nomic-embed-code-v1.5.int8.onnx
continue-on-error: true

- name: Check coverage thresholds
if: ${{ !inputs.skip_tests }}
run: node scripts/ci-coverage-check.js --tier release --verbose
continue-on-error: true

- name: Upload integration coverage
if: always()
Expand Down Expand Up @@ -121,25 +118,26 @@ jobs:
models/nomic-embed-code-v1.5.int8.onnx
key: embed-code-model-${{ hashFiles("scripts/export-model.py", "models/model-descriptor.json") }}-v5
fail-on-cache-miss: true
fail-on-cache-miss: true

- name: Run benchmark
run: |
npx tsx scripts/benchmark-ci.js
npx tsx scripts/benchmark-ci.js --verbose --json benchmark-report.json --md benchmark-report.md --html benchmark-report.html
timeout-minutes: 10
env:
EMBED_CODE_MODEL_PATH: models/nomic-embed-code-v1.5.int8.onnx
BENCH_ITERATIONS: 10

- name: Accuracy gate
run: node scripts/ci-benchmark-check.js --verbose
continue-on-error: true

- name: Upload benchmark artifact
uses: actions/upload-artifact@v7
with:
name: benchmark-report
path: benchmarks/
path: |
benchmark-report.json
benchmark-report.md
benchmark-report.html
retention-days: 7

# ═══════════════════════════════════════════════════════════════════
Expand Down Expand Up @@ -193,7 +191,6 @@ jobs:
contents: read
pages: write
id-token: write
continue-on-error: true
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -209,21 +206,18 @@ jobs:

- name: Generate API documentation
run: npx typedoc
continue-on-error: true

- name: Download benchmark report
uses: actions/download-artifact@v4
with:
name: benchmark-report
path: docs/benchmark
continue-on-error: true

- name: Download coverage report
uses: actions/download-artifact@v4
with:
name: coverage-report
path: docs/coverage
continue-on-error: true

- name: Prepare pages
run: node scripts/prepare-pages.js
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dist/
coverage/
node_modules/
docs/
*.tsbuildinfo
models/*.onnx
models/*.zip
Expand Down
211 changes: 0 additions & 211 deletions docs/ARCHITECTURE.md

This file was deleted.

Loading
Loading