Rename this variable.
Add error handling.
Fix the type.
Use async/await here.
命令形のみでは強すぎる印象になりやすい
提案的(Good)
Could you rename this for clarity?
It might be worth adding error handling here.
Consider using async/await for readability.
This could be simplified with optional chaining.
LGTM = "Looks Good To Me" — 承認を意味するエンジニア定番の表現。温度感に応じて様々なバリエーションがある。
LGTMの温度感スペクトラム
場面に応じた LGTM バリエーション
Minimal
LGTM
最短の承認。コードが明らかに問題ない時。
Minimal
🚀 / ✅ / +1
絵文字・記号だけで承認するチームも多い。
Standard
Looks good to me!
少し丁寧な形。日常的なレビューに最適。
Standard
Looks great! Ship it!
Ship it = マージしていいよ、リリースしよう、のエンジニアスラング。
Warm
LGTM — nice work!
承認 + 一言称賛を添える。
Warm
LGTM, thanks for the quick turnaround.
素早い対応への感謝を添える。
Conditional
LGTM with minor comments above.
全体的にOKだが、小さいコメントに対応してほしい場合。
Conditional
Approve pending the fix for the null check in line 42.
特定の修正を条件に承認。修正箇所を明示する。
Request Changes を使う時の表現
複数の修正が必要な場合。番号付きリストで明確に伝える
A few things to address before this is ready:
1. The error handling is missing in the catch block
2. Tests for the edge case (empty input) are needed
3. The type definition in line 58 doesn't match the return value
Happy to re-review once these are addressed!
## What<!-- 何を変えたかを箇条書きで簡潔に -->- Added JWT-based authentication middleware- Integrated refresh token rotation- Added `/auth/login` and `/auth/logout` endpoints## Why<!-- なぜこの変更が必要か。背景・ビジネス要件・解決する問題 -->
Users were unable to stay logged in across sessions (#42).
## How<!-- 実装の概要。技術的な決断・選択した理由 -->
Used `jsonwebtoken` library for token signing. Refresh tokens are stored
in Redis with a 7-day TTL. Chose short-lived access tokens (15 min).
## How to Test
1. Run `npm run dev`
2. POST `/auth/login` with `{ "email": "test@example.com", "password": "..." }`
3. Verify 200 response includes `accessToken` and `refreshToken`
## Checklist- [x] Unit tests added
- [x] Documentation updated
- [ ] Migration script prepared (not needed)
レビュー依頼の表現
Hey @alice, could you review this when you get a chance?
時間がある時にレビューしてもらえますか?
This is fairly large, so feel free to focus on the core logic in `service.ts`.
かなり大きいので、service.ts のコアロジックに集中してもらって大丈夫です。
Did a self-review — left a few inline comments where things might be unclear.
セルフレビューしました。不明な箇所にインラインコメントを残しています。
@team — this one needs two approvals before we can merge. Thanks!
マージ前に2人の承認が必要です。ありがとうございます!
バグレポートの構成
再現手順・期待値・実際の動作・環境情報を明確に記載する
## Bug DescriptionClicking "Submit" on the checkout page throws a 500 error
when the cart contains more than 10 items.## Steps to Reproduce
1. Add 11+ items to the cart
2. Proceed to checkout
3. Click "Submit Order"
→ Error: Internal Server Error (500)## Expected Behavior
Order should be submitted successfully.
## Actual Behavior500 error is thrown. Server logs show: "Array index out of bounds at CartService.java:142"## Environment- Browser:Chrome 120- OS:macOS 14.2- Version:v2.4.1
提案・意見を求めるIssue
I'd like to propose migrating from REST to GraphQL for the user API.
ユーザーAPIをREST→GraphQLに移行することを提案したいです。
I'm not sure this is the right approach — any thoughts?
これが正しいアプローチか確信が持てません。ご意見ありますか?
Opening this for discussion — would love to hear the team's perspective.
議論のためにオープンにします。チームの意見を聞かせてください。
What are the trade-offs between these two approaches?