Repository navigation
fix(dg): box the repo command's future so clippy passes on macOS arm64 - #425
Conversation
On macOS arm64 with the pinned 1.98.0 toolchain, `repo::run`'s future is 16,400 bytes, 16 over the clippy::large_futures limit, so `cargo clippy -D warnings` fails on master there. Linux x86_64 is just under the limit, so CI passes. Box it the way the pr command already is. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Repo command now pins the ChangesRepo command
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The Repo command’s future is boxed before awaiting, with no behavior change identified. No actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
On macOS arm64 with the pinned 1.98.0 toolchain,
cargo clippy -p dg --all-targets -- -D warningsfails on master. The cause isclippy::large_futuresatcrates/dg/src/main.rs:repo::run(ctx, cmd).awaitis 16,400 bytes, against a limit of 16,384. On Linux x86_64 the future is just under the limit, so CI passes, but anyone running clippy on a Mac sees master fail.The fix boxes that future the same way the
prcommand next to it already is, and the way f881357 did forpush_refs.🤖 Generated with Claude Code
Summary by CodeRabbit