feat(approval): deny with instructions + fix CodeQL path injection#27
feat(approval): deny with instructions + fix CodeQL path injection#27
Conversation
- Auto-scroll only when user is near bottom of chat (no more yanking back while reading earlier messages during streaming) - Auto-approve toggle: muted when OFF, red glow when ON (YOLO mode) - Fix 3 HIGH CodeQL go/path-injection findings in project/context.go: validate resolved path is existing directory before file operations
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, 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 the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThree files were modified to redesign the approval workflow and enhance path validation. The Go context file now validates directory existence before processing. The CSS file introduces a modal-based approval UI replacing the previous bar layout. The TypeScript webview adds modal rendering, keyboard interactions, and denial feedback handling. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 |
Summary
go/path-injectionfindings inproject/context.go: validate resolved path is an existing directory before any file operationssafeJoinguard consistentlyTest plan
go vet ./internal/project/cleango test ./internal/project/passesnpm run compilecleanSummary by CodeRabbit
New Features
Bug Fixes
Style