Skip to content

Fail incomplete Python analysis - #16

Merged
Vashkatsi merged 2 commits into
mainfrom
fix/fail-incomplete-analysis
Aug 7, 2026
Merged

Fail incomplete Python analysis#16
Vashkatsi merged 2 commits into
mainfrom
fix/fail-incomplete-analysis

Conversation

@Vashkatsi

Copy link
Copy Markdown
Owner

Summary

  • fail analysis when Python files cannot be read or parsed
  • propagate worker failures in sequential and process-pool execution
  • detect Python source encodings according to PEP 263, including UTF-8 BOM
  • document the stricter failure behavior

Root cause

Collection and dependency-analysis failures could be swallowed, producing a successful but incomplete architecture report. The initial strict-read fix also assumed UTF-8 and rejected valid encoded Python source files.

Impact

Deply now exits unsuccessfully instead of reporting partial analysis, while continuing to accept Python-supported source encodings.

Validation

  • make check — 170 tests; ruff, mypy, and pip-audit clean
  • make mutation — 1534 of 1685 mutations killed
  • git diff --check

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Vashkatsi, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 27 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 98e0d389-01f2-40e6-9df5-7f810a3a9a7d

📥 Commits

Reviewing files that changed from the base of the PR and between 9b47470 and 857d4c0.

📒 Files selected for processing (9)
  • README.md
  • deply/code_analyzer.py
  • deply/deply_runner.py
  • deply/utils/ast_utils.py
  • doc/cli.md
  • doc/technical-roadmap.md
  • docs/lessons.md
  • tests/test_deply_runner.py
  • tests/test_external_import_rule.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Vashkatsi
Vashkatsi merged commit 74dcee8 into main Aug 7, 2026
2 checks passed
@Vashkatsi
Vashkatsi deleted the fix/fail-incomplete-analysis branch August 7, 2026 17:25
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.

1 participant