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
{{ message }}
Repository navigation
cluster-only crashes with FileNotFoundError if graphify-out/ doesn't exist before invocation #934
out is dereferenced without first being ensured to exist. The pattern out.mkdir(parents=True, exist_ok=True) is used correctly elsewhere in the same file at 20 different sites — including __main__.py:2935 where the very same identifier out is created before being written to. So this looks like an asymmetry between the extract codepath (creates out first) and the cluster-only codepath (assumes out already exists), rather than a design choice.
The crash is reachable any time a user renames or deletes graphify-out/ before re-running cluster-only — a natural workflow for archiving a previous run before re-clustering with new flags (the scenario that surfaced it). Related precedent: #422 (cluster-only skipping detect-phase setup) showed the same general pattern.
Fixed in the commit pushed to v8. now creates immediately after computing the output path, before any read or write. Regression test added in . Will ship in the next release.
Activity
safishamsi commentedon May 18, 2026
Yes please send me a pr I'm happy to merge it
neo1777 commentedon May 18, 2026
Thanks! Will send the PR tomorrow evening CET — first thing after work.
fix cluster-only crash when graphify-out/ absent, add regression test (…
safishamsi commentedon May 20, 2026
Fixed in the commit pushed to v8. now creates immediately after computing the output path, before any read or write. Regression test added in . Will ship in the next release.
fix(cli): keep outputs/cache with --out / --graph, not the corpus or …
fix cluster-only crash when graphify-out/ absent, add regression test (…
fix(cli): keep outputs/cache with --out / --graph, not the corpus or …