Skip to content

v0.5.3 -- large repo resilience + cleaner exception output

Choose a tag to compare

@DevanshuNEU DevanshuNEU released this 12 Mar 04:10
· 62 commits to main since this release

OPE-182: Large repo resilience

  • RecursionError on complex files (like PostHog's api.ts) now caught gracefully instead of printing a scary traceback. Analysis continues normally.
  • File limit raised from 10,000 to 25,000 files (PostHog has 19K)
  • When limit is hit, a clear warning appears in the detection summary instead of silently logging: '⚠ Large repo: analysed 25,000 files (cap=25,000). Some files may be missing. Use --exclude to focus on specific directories.'

OPE-183: Exception list readable at scale

Before (PostHog, 105 exceptions): one unreadable comma-separated blob spanning 3 lines
After:

- Use domain exceptions (105 total). Most common: APIError, AlertCheckException, AlreadyVotedError...
- Never create new exception classes without checking: grep -r 'class.*Error|class.*Exception' . --include='*.py' -l

Claude gets the 10 most important ones to remember, plus a way to discover all 105 when needed.