Skip to content

Conversation

@panbanda
Copy link
Owner

Summary

  • Churn fix: When report generate uses --since all, parse_since_to_days returns None which falls back to u32::MAX (4294967295). The churn analyzer was passing --since=4294967295 days to git log, which git cannot parse, returning 0 commits and producing empty churn data in the report. Now treats u32::MAX as a sentinel for "all history" and passes no --since flag to git.
  • Cohesion table: Adds file path column so classes with the same name from different files (e.g. Ruby reopened modules like ApolloFederation) are distinguishable.

Test plan

  • Verify omen report generate produces non-empty churn.json with --since all (default)
  • Verify cohesion table in rendered HTML shows file path column
  • Verify cargo test analyzers::churn passes

The churn analyzer passed `--since=4294967295 days` to git when
report generate used --since all (u32::MAX sentinel). Git cannot
parse that value and returns 0 commits, producing empty churn data.
Now passes None (no --since flag) when days is u32::MAX, which
correctly returns full history.

Also adds the file path column to the cohesion table in the HTML
report so classes with the same name from different files (e.g.
Ruby reopened modules) are distinguishable.

Co-Authored-By: claude-flow <ruv@ruv.net>
@panbanda panbanda merged commit 5e62ec1 into main Jan 30, 2026
6 checks passed
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.

2 participants