Skip to content

Simplify output#3

Merged
b4prog merged 2 commits into
mainfrom
simplify-output
Jun 26, 2026
Merged

Simplify output#3
b4prog merged 2 commits into
mainfrom
simplify-output

Conversation

@b4prog

@b4prog b4prog commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features
    • Duplicate reports now show a shorter default view with only the duplicate locations.
    • Verbose output now includes the duplicated code, locations, metrics, and timing details.
  • Documentation
    • Updated the README to match the new duplicate report output format.
  • Chores
    • Bumped the package version to 0.3.0.

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 74a1493d-477f-435e-82ae-89fb15925963

📥 Commits

Reviewing files that changed from the base of the PR and between 56b5970 and 8e4f33c.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • Cargo.toml
  • README.md
  • src/lib.rs
  • src/report.rs
💤 Files with no reviewable changes (1)
  • src/lib.rs
📜 Recent review details
🔇 Additional comments (3)
src/report.rs (1)

79-85: LGTM!

Also applies to: 172-176, 221-223

README.md (1)

102-106: LGTM!

Cargo.toml (1)

3-3: LGTM!


📝 Walkthrough

Walkthrough

The duplicate report now omits code snippets and the “Locations:” header in non-verbose mode, while verbose mode includes them. The README description and snapshot/tests were updated, and the crate version was bumped to 0.3.0.

Changes

Duplicate report output

Layer / File(s) Summary
Verbose gating in the renderer
src/report.rs
render_duplicate_report moves the code snippet and “Locations:” header under the verbose branch, changing the non-verbose duplicate block output.
Tests, docs, and version
src/report.rs, src/lib.rs, README.md, Cargo.toml
The duplicate report tests and snapshot are updated for the new output, the README description matches it, and the package version is bumped to 0.3.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • b4prog/CodeM8#2: Also changes src/report.rs verbose report formatting, including duplicate-report output.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is too generic and does not convey the specific output changes in the PR. Rename it to something specific, such as 'Show only duplicate locations in quiet report output'.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch simplify-output

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.

@b4prog

b4prog commented Jun 26, 2026

Copy link
Copy Markdown
Owner Author

@CodeRabbit resume

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown
✅ Action performed

Reviews resumed.

@b4prog b4prog merged commit d0cc69f into main Jun 26, 2026
3 checks passed
@b4prog b4prog deleted the simplify-output branch June 26, 2026 04:28
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