fix #296 - #297
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughJournal writer and path accessors now return ChangesJournal Writer Error Handling
Estimated code review effort: 3 (Moderate) | ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/journal/mod.rs`:
- Around line 105-106: The #[expect(clippy::expect_used)] attribute on
get_writer is stale because get_writer no longer calls .expect(); remove the
attribute from the get_writer code so the clippy expectation is not left
unfulfilled and cargo clippy stops warning; locate the attribute attached to the
get_writer implementation that ends with self.writer.lock().map_err(|_|
crate::Error::Poisoned) and delete that single #[expect(clippy::expect_used)]
line.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: c17236fc-31d9-4dca-b1ee-f49ba6c68af1
📒 Files selected for processing (7)
src/batch/mod.rssrc/db.rssrc/db_test.rssrc/journal/mod.rssrc/journal/test.rssrc/keyspace/mod.rssrc/worker_pool.rs
fixes #296
Summary by CodeRabbit
Bug Fixes
Breaking Changes