引用されたもとのメッセージが編集されたとき引用した側のメッセージを変える - #2918
Conversation
|
Warning Review limit reached
Your plan includes 2 reviews of capacity. Refill in 2 minutes and 21 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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 |
…aQ into feature/2915-cited-message
Eraxyso
left a comment
There was a problem hiding this comment.
実装ありがとうございます!方針はLGTMですが、以下の点を確認していただきたいです。
Query.Limitが未指定のため、検索結果がデフォルトの20件に制限され、引用が多い場合に一部のチャンネルへイベントが届かない可能性がありますInを指定しない検索は公開チャンネルのみが対象となるため、DMなどの非公開チャンネル内の引用が取得できないように見えます- 引用先チャンネル一覧を1分間キャッシュしていますが、引用の追加・編集・削除時にinvalidateされないため、最大1分間古い結果が使われる点が許容可能か確認したいです
(影響は限定的なのでそのまま許容してもよさそうですが、ramdosさんなどと相談した方がよいかもしれません)
また、可能であれば、今回の変更に対応するテストも追加していただけるとよさそうです。
|
|
||
| res, err := ns.search.Do(&query) | ||
| if err != nil { | ||
| return nil |
There was a problem hiding this comment.
エラーをそのまま握り潰しているため、可能であればエラーハンドリングを改善していただきたいです
close #2915
引用されたもとのメッセージが編集、削除したとき、引用した側のメッセージを変える