mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1459] [MERGED] Fix Graphify Windows excludes #5099
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5099
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1459
Author: @Xelvanis
Created: 5/28/2026
Status: ✅ Merged
Merged: 5/28/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/graphify-windows-excludes📝 Commits (1)
796ef3eFix Graphify Windows excludes📊 Changes
2 files changed (+189 additions, -21 deletions)
View changed files
➕
.graphifyignore(+44 -0)📝
scripts/patch-graphify-portable-paths.mjs(+145 -21)📄 Description
This PR tightens Graphify's local input scope and hardens the portability patch so Windows runs do not accidentally produce massive generated-output churn.
The main issue was that Graphify could still see local workflow/generated state, including the root
scratchjunction into.git/codex-shared-scratch, unless the ignore rules were explicit. Since Graphify uses.graphifyignorewhen present, this PR adds one that repeats the important generated/dependency/cache/editor exclusions and also keepsgraphify-outout of the source corpus. That does not stop Graphify from writing or trackinggraphify-out; it only prevents Graphify from treating its own generated output as input on later runs.The patch script also needed Windows-safe cleanup. Its self-test used Unix
mkdir -pand a shell/ripgrep path scan, which made the patch fragile on Windows even when the underlying installed Graphify patch was mostly doing the right thing. The script now uses Node filesystem APIs for the self-test, strips old injected helper blocks before reinserting them, makes project IDs stable frompackage.jsonwhere possible, and preserves existing graph item order when Graphify rewritesgraph.jsonso review diffs stay smaller.Validation run locally:
pnpm graphify:patchscratch,.git/codex-shared-scratch,node_modules, orgraphify-outgraphify update .proof reduced churn from the prior huge output to a much smaller generated diff, and a repeat update left outputs unchangedpnpm check:docsgit diff --checkgraphify-outwas restored after proof; this PR intentionally changes only the ignore file and patch script.MARI PLZ HALP
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.