Skip to content

fix(ci): run knowledge + serve gates with their declared extras#111

Merged
se-jo-ma merged 1 commit into
mainfrom
fix/ci-real-extras
Jun 24, 2026
Merged

fix(ci): run knowledge + serve gates with their declared extras#111
se-jo-ma merged 1 commit into
mainfrom
fix/ci-real-extras

Conversation

@se-jo-ma

Copy link
Copy Markdown
Member

Problem

knowledge-test and serve-test declare extras via astral-sh/setup-uv's sync-args input — setup-uv has no such input (silently ignored, same root cause as #110's cypher-subset). So:

  • knowledge-test: --extra stores --extra skills-rag --extra ml never installed → the knowledge suite was import-guarded into skips (vacuous green, ~0 real coverage).
  • serve-test: --all-extras --all-groups never installed → serve ran without stores/pyarrow/ml.

lint and test were already correct — they use the local composite ./.github/actions/uv-setup, which runs uv sync ${sync-args}. Only these two used raw setup-uv.

Fix

Point both jobs at the same composite (one-line uses: swap each). No uv run changes needed — the composite's explicit uv sync persists the extras across steps.

Verified locally (linux, py3.13, extras present)

  • knowledge marker: 255 passed, 14 skipped (runslow), 1 xfailed
  • serve marker: 93 passed, 5 skipped (runslow)
  • uv sync --all-extras --all-groups resolves+installs clean (no source builds blocking).
  • pyright-with-extras already proven green by the lint job (full-codebase strict).

Leaves cypher-subset as fixed in #110 (inline uv run --extra). No behavior change to lint/test.

🤖 Generated with Claude Code

knowledge-test and serve-test put `sync-args` on raw `astral-sh/setup-uv@v7`, which has no such input (silently ignored) — so --extra stores/skills-rag/ml (knowledge) and --all-extras (serve) never installed. knowledge tests were import-guarded into skips (vacuous green); serve ran without stores/pyarrow. Switch both to the local composite `./.github/actions/uv-setup`, which actually runs `uv sync ${sync-args}` (same pattern lint/test already use). Verified locally with extras present: knowledge 255 passed, serve 93 passed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017pXsj4Q7q1Vn2mtHhakTtJ
Signed-off-by: se-jo-ma <mauk.sean@gmail.com>
@se-jo-ma se-jo-ma merged commit dabc9b5 into main Jun 24, 2026
14 checks passed
@se-jo-ma se-jo-ma deleted the fix/ci-real-extras branch June 24, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant