fix(cli-pr-monitor): 不正ペイロードで既存 state を消さない - #39
Conversation
update_state_from_check_result で serde_json::from_value(...).ok() を if let Ok(...) パターンに変更。デシリアライズ失敗時に既存の state.ci / state.coderabbit が None で上書きされる問題を修正。 CodeRabbit PR #38 指摘への対応。テスト2件追加。
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
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 |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Summary\
\
\
変更内容\
serde_json::from_value(...).ok() を if let Ok(...) パターンに変更。デシリアライズ失敗時は既存値を保持する。findings フィールドは既にこのパターンで書かれており、ci / coderabbit も同じパターンに統一。
\
Test plan\
\
Summary by CodeRabbit
リリースノート
バグ修正
テスト