chore: track go.work and the graphify map #83

Closed
sulthan wants to merge 1 commits from chore/track-gowork-graphify into main
Owner

go.work/go.work.sum were ignored, leaving gopls without a workspace root. Now tracked.

graphify-out/ is meant to be committed so a checkout starts with the map. Tracked: graph.json, graph.html, manifest.json, GRAPH_REPORT.md, .graphify_labels.json, .graphify_root, .graphify_python — 2.9M.

Still ignored: cost.json, cache/ (13M, regenerable), the dated snapshot dirs (glob, so future ones are covered), .rebuild.lock.

.graphify_python holds an absolute interpreter path, so it looks machine-local, but it is tracked on purpose: every query helper shells $(cat graphify-out/.graphify_python), and an ignored untracked file does not appear in a new git worktree add dir — the first query in each new worktree would fail on an empty command. A dev with a different interpreter should git update-index --skip-worktree it locally.

`go.work`/`go.work.sum` were ignored, leaving gopls without a workspace root. Now tracked. `graphify-out/` is meant to be committed so a checkout starts with the map. Tracked: `graph.json`, `graph.html`, `manifest.json`, `GRAPH_REPORT.md`, `.graphify_labels.json`, `.graphify_root`, `.graphify_python` — 2.9M. Still ignored: `cost.json`, `cache/` (13M, regenerable), the dated snapshot dirs (glob, so future ones are covered), `.rebuild.lock`. `.graphify_python` holds an absolute interpreter path, so it looks machine-local, but it is tracked on purpose: every query helper shells `$(cat graphify-out/.graphify_python)`, and an ignored untracked file does not appear in a new `git worktree add` dir — the first query in each new worktree would fail on an empty command. A dev with a different interpreter should `git update-index --skip-worktree` it locally.
sulthan added 1 commit 2026-08-11 10:29:08 +07:00
go.work and go.work.sum were ignored, which left gopls without a
workspace root — the LSP needs them checked in to resolve ./backend.

graphify-out/ is meant to be committed so a fresh checkout starts with
the map instead of rebuilding. Committed: graph.json, graph.html,
manifest.json (portable now — relative keys, re-anchored on load),
GRAPH_REPORT.md, .graphify_labels.json, .graphify_root.

Still ignored: cost.json (local), cache/ (13M, regenerable), the dated
snapshot dirs (glob, so future ones are covered too), .rebuild.lock.

.graphify_python holds an absolute interpreter path, so it looks
machine-local — but it is tracked deliberately. Every query helper
shells $(cat graphify-out/.graphify_python), and an ignored untracked
file does not materialize in a new `git worktree add` dir, which would
break the first query in every new worktree. A second dev whose
interpreter differs should skip-worktree it locally.
sulthan closed this pull request 2026-08-11 17:59:00 +07:00

Pull request closed

Sign in to join this conversation.