Skip to content

chore(graphify): mark graph.json as generated and undiffable - #1109

Merged
mforce merged 1 commit into
mainfrom
chore/graphify-gitattributes
Oct 6, 2026
Merged

mforce merged 1 commit into
mainfrom
chore/graphify-gitattributes

Conversation

@mforce

@mforce mforce commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Marks graphify-out/graph.json as linguist-generated=true -diff.

graphify writes graph.json pretty-printed (indent=2, about 1M lines and 40 MB). A refresh diff is too large for GitHub: #1102, #968 and #610 all failed with "diff is taking too long to generate" or showed "0 files changed".

Verified: locally, git diff and git log -p now treat the file as binary ("Bin 42 MB → 43 MB" instead of about 1M lines).

Not verified: whether GitHub renders a refresh PR once this is on main. With the attribute only on #1102's branch, the files API still returned 422. This PR merges first so the next refresh can test it. If GitHub still times out, the rule still helps local diffs.

@mforce
mforce merged commit 0b72aa1 into main Oct 6, 2026
12 checks passed
@mforce
mforce deleted the chore/graphify-gitattributes branch October 6, 2026 05:22
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