You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The #2253 fix (v0.9.29, CREATE_NO_WINDOW in the hook launcher) only helps hooks installed after the upgrade. The launcher is embedded as text in each repo's .git/hooks/post-commit / post-checkout, so upgrading the package leaves every existing hook on the old DETACHED_PROCESS launcher, and those keep opening a visible console window on every commit and checkout.
Real-world scale: after upgrading 0.9.25 -> 0.9.65 on one Windows machine, ~660 hook files still carried the old flags, including:
repos under C:\dev / D:\
a git init.templateDir (~/.git-template/hooks). Every new clone/init copies the stale launcher, including tool-managed clones such as Codex plugin marketplace caches under ~/.codex/...
Result: after the upgrade, windows kept appearing (captured via EnumWindows: ConsoleWindowClass titled ...\uv\tools\graphifyy\Scripts\python.exe, running the changed_raw rebuild body).
Suggested fixes
On startup (or in graphify hook status / any CLI run), detect the installed hook block's launcher version and rewrite it when stale. The # graphify-hook-start/end markers already make an in-place refresh safe.
Add a graphify hook refresh --all (or make hook install idempotently rewrite an outdated block).
Mention in the v0.9.29+ release notes that existing hooks must be reinstalled.
Workaround
Replace 0x00000008 | 0x00000200 with 0x08000000 | 0x00000200 in existing hook files (including the git template dir), or add a .pth in the tool venv that rewrites DETACHED_PROCESS to CREATE_NO_WINDOW in subprocess.Popen.
Env: Windows 10 22H2 (19045), uv tool install, Git for Windows.
Activity
fix(hooks): report hooks written by an older release as out of date (#…
safishamsi commentedon Sep 30, 2026
Fixed in v0.9.73 (now on PyPI) by #3951 — thanks @bercedev.
Release: https://github.com/Graphify-Labs/graphify/releases/tag/v0.9.73
Merge upstream v8 into fix-2418-post-merge-hook