Skip to content

KeyError: 'total_files' in report.py when running cluster-only #422

Closed

Description

@fitliferepo

cluster-only skips the detect phase, so the stats dict is never populated with total_files. report.py then crashes at report generation. graph.json writes successfully before the crash, so the graph rebuild itself works — only the markdown report fails. Workaround: use graphify update instead, which runs detect. Repro: run any graphify build, then graphify cluster-only <path> on the same folder.

Activity

  1. added a commit that references this issue on Apr 17, 2026
    35fa45d
  2. added a commit that references this issue on Apr 23, 2026
    8666c69
  3. added a commit that references this issue on Sep 10, 2026
    b394fc9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions