fix(function-autoscaler): move TracingGuard above the test module so clippy passes - #545
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthrough
ChangesTracing initialization layout
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
a5bf634 to
11c3e35
Compare
|
Hi Mesut, thanks for your contribution! Can you please add the DCO for the merge commit? |
5258128 to
1d5ca58
Compare
|
Done. Rebased onto main to drop the unsigned merge commits, the branch now has a single signed-off commit. |
1d5ca58 to
53cbefe
Compare
…clippy passes Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
Head branch was pushed to by a user without write access
53cbefe to
7ef6236
Compare
cargo clippy -p rs-autoscaler --all-targets -- -D warnings, the command inthis subtree's
AGENTS.md, exited 101 on a clean checkout:TracingGuardsatafter
#[cfg(test)] mod testsand#![deny(warnings)]turnsclippy::items_after_test_moduleinto an error, masking every other clippyfinding in the crate. Moved the struct and its
Dropimpl above the testmodule.
Pure code motion, no logic change.
cargo clippy -p rs-autoscaler --all-targets -- -D warningsnow exits 0 with nothing else reported for the crate,cargo test -p rs-autoscalerpasses (117 tests),cargo fmt --checkclean. Existingtests cover the file; the failure was a lint gate, not runtime behavior.
Issues
Closes #544
Summary by CodeRabbit