From 565026d3d10fb2d69bd01a5437433f278683fd8b Mon Sep 17 00:00:00 2001 From: Safi Date: Wed, 10 Jun 2026 22:01:12 +0100 Subject: [PATCH] fix(ci): add cluster-only step to generate GRAPH_REPORT.md in release-graph extract intentionally stops at graph.json; GRAPH_REPORT.md requires cluster-only. Use --no-label to skip LLM community naming (no API key needed in CI). Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release-graph.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-graph.yml b/.github/workflows/release-graph.yml index 35dbd727..246ec40d 100644 --- a/.github/workflows/release-graph.yml +++ b/.github/workflows/release-graph.yml @@ -31,16 +31,20 @@ jobs: uv run --frozen graphify extract graphify/ --out . git checkout .graphifyignore 2>/dev/null || rm -f .graphifyignore + - name: Cluster, label communities and generate GRAPH_REPORT.md + # cluster-only writes GRAPH_REPORT.md and names communities (no LLM needed + # for basic numeric labels; --no-label skips LLM labeling entirely). + run: uv run --frozen graphify cluster-only . --no-label + - name: Generate HTML viewer - # 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: | mkdir -p dist-graph - cp graphify-out/graph.json dist-graph/ - cp graphify-out/graph.html dist-graph/ - cp graphify-out/GRAPH_REPORT.md dist-graph/ + cp graphify-out/graph.json dist-graph/ + cp graphify-out/graph.html dist-graph/ + [ -f graphify-out/GRAPH_REPORT.md ] && cp graphify-out/GRAPH_REPORT.md dist-graph/ || true tar -czf graphify-self-graph.tar.gz -C dist-graph . echo "Asset contents:" tar -tzf graphify-self-graph.tar.gz