Skip to content

Commit 8e37d83

Browse files
fix(ci): graphify update --force and rebuild graphify-out
CI failed when committed graph.json had more nodes than a clean rebuild (953 vs ~899). Use --force on CI and refresh graphify-out to match HEAD c607158. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c607158 commit 8e37d83

6 files changed

Lines changed: 10434 additions & 13864 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ jobs:
151151
- name: Process gate check (graphstack gate)
152152
run: python -m graphstack gate check
153153

154+
# --force: committed graph.json may have more nodes than a clean CI rebuild
155+
# (graphify refuses overwrite without --force when counts diverge).
154156
- name: Refresh knowledge graph (CI)
155-
run: graphify update .
157+
run: graphify update . --force
156158

157159
- name: Fail if knowledge graph is stale vs HEAD
158160
run: python -m graphstack validate --fail-stale-graph

graphify-out/.graphify_labels.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"26": "Community 26",
2929
"27": "Community 27",
3030
"28": "Community 28",
31-
"29": "Community 29",
3231
"30": "Community 30",
3332
"31": "Community 31",
3433
"32": "Community 32",
@@ -40,15 +39,10 @@
4039
"38": "Community 38",
4140
"39": "Community 39",
4241
"40": "Community 40",
43-
"41": "Community 41",
4442
"42": "Community 42",
45-
"43": "Community 43",
4643
"44": "Community 44",
4744
"45": "Community 45",
4845
"46": "Community 46",
49-
"47": "Community 47",
50-
"48": "Community 48",
51-
"49": "Community 49",
5246
"50": "Community 50",
5347
"51": "Community 51",
5448
"52": "Community 52",
@@ -60,12 +54,9 @@
6054
"58": "Community 58",
6155
"59": "Community 59",
6256
"60": "Community 60",
63-
"61": "Community 61",
6457
"62": "Community 62",
6558
"63": "Community 63",
66-
"64": "Community 64",
6759
"65": "Community 65",
68-
"66": "Community 66",
6960
"67": "Community 67",
7061
"68": "Community 68"
7162
}

0 commit comments

Comments
 (0)