fix(actions): copy edits before preview#2702
Conversation
|
Tysm @IlyasYOY! We’ll let code rabbit review this, if the CI passes I’ll merge it soon. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughA bug fix in the code action previewer prevents in-place mutations of text edits by deep-copying the edits before applying them. A new test verifies that the original edits remain unchanged after previewing. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
|
Fix this lint and we’re gtg Since this is a shim adding a disable warning the line above should suffice. |
|
@ibhagwan sorry, missed the lint step, fixed and repushed. I suppressed diagnostics, because I need to set the field to create a stub for test. |
|
Tysm @IlyasYOY for your effort! |
Closes: #2701
Summary by CodeRabbit
Bug Fixes
Tests