ruvector/.github/workflows/copilot-setup-steps.yml
rUv e3d8ff8e6c
fix(npm): update stale ruvector peer deps and fix TS syntax error (#492)
* fix(npm): update stale ruvector peer deps and fix TS syntax error

- agentic-synth, ruvector-extensions: bump optional ruvector peer dep
  from ^0.1.x to ^0.2.0 to match current workspace version (fixes
  npm install resolution conflict in workspaces)
- hr-management.ts: fix 'dotted LineManagerId' (space in identifier)
  which caused tsc to emit TS1005 errors

Co-Authored-By: claude-flow <ruv@ruv.net>

* style: rustfmt ruvector-sparse-inference ops.rs

Fixes Rustfmt CI check failure for the LinearBitNet ternary weight
GEMV operator added in the recent sparse-inference feature.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(rvlite): suppress TS2307 for wasm-pack build artifacts

Add @ts-ignore comments before the four import() calls that reference
dist/wasm/rvlite.js — a wasm-pack generated file that is gitignored and
absent at type-check time. The existing 'as any' casts were already
correct at runtime; this suppresses the spurious TS2307 module-not-found
errors that blocked 'npx tsc --noEmit' in the rvlite package.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ci): correct YAML indentation in copilot-setup-steps.yml

The jobs: block was indented under on: and each subsequent step was
indented by 6 extra spaces per level, creating a deeply pyramidal
structure that is invalid YAML. GitHub Actions always reported
'This run likely failed because of a workflow file issue'.

Fixed by resetting to standard 2-space YAML indentation throughout.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(mcp-brain-server): fix 3 failing tests in pipeline and symbolic

pipeline.rs:
- test_cdx_query_default: update assertion to match current default
  (mime_filter and status_filter are now None by design — filters are
  applied client-side for lower latency in the PoC)
- test_cc_warc_extraction: extend test HTML content to ≥200 chars so
  it passes the minimum-length gate in extract_text_from_html

symbolic.rs:
- test_forward_chaining_transitive: fix spurious back-edge inference.
  The shared-arg fallback fired on (B,C)×(A,B) because they share B,
  producing relates_to(C,A) alongside the correct relates_to(A,C). Add
  a reverse_chain guard: if last(pb)==first(pa) (i.e., (pb,pa) is a
  strict chain), skip shared-arg for this (pa,pb) pair — the forward
  direction is already covered by the (ia=A,B, ib=B,C) iteration.

Co-Authored-By: claude-flow <ruv@ruv.net>

---------

Co-authored-by: ruvnet <ruvnet@gmail.com>
2026-05-22 02:33:45 -04:00

27 lines
593 B
YAML

name: Copilot Setup Steps
on:
workflow_call:
jobs:
copilot-setup:
runs-on: ubuntu-latest
environment: copilot
steps:
- name: Cleanup before git clone
run: rm -rf /home/runner/work/ruvector/ruvector
continue-on-error: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install ruvector dependencies
run: npm install -g ruvector
- name: Verify ruvector MCP
run: npx ruvector --version