From 1513e6271a3f15eebe862c8b8dfb113e4d2122f4 Mon Sep 17 00:00:00 2001 From: Safi Date: Wed, 10 Jun 2026 21:15:00 +0100 Subject: [PATCH] fix(ci): correct three bugs in release-graph workflow - extract graphify/ (code only) instead of . to avoid LLM API key requirement; the repo root contains docs/skills/.md files that trigger semantic extraction - use --out . so output writes to ./graphify-out/ not ./graphify/graphify-out/ - remove --out from export html (flag does not exist; HTML auto-written next to graph) - drop nonexistent --code-only flag from extract command - add comments explaining each flag's behavior Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release-graph.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-graph.yml b/.github/workflows/release-graph.yml index ba2af860..59d1f1fb 100644 --- a/.github/workflows/release-graph.yml +++ b/.github/workflows/release-graph.yml @@ -23,10 +23,14 @@ jobs: run: uv sync --frozen - name: Build graph of graphify source (AST-only, no API cost) - run: uv run --frozen graphify extract . --code-only --out graphify-out + # Extract only the graphify/ package directory — pure Python code, no + # docs/skill/markdown files — so extraction never needs an LLM API key. + # --out . writes output to ./graphify-out/ (not ./graphify/graphify-out/). + run: uv run --frozen graphify extract graphify/ --out . - name: Generate HTML viewer - run: uv run --frozen graphify export html --graph graphify-out/graph.json --out graphify-out/graph.html + # HTML is written next to graph.json automatically; no --out flag needed. + run: uv run --frozen graphify export html --graph graphify-out/graph.json - name: Bundle release asset run: |