| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 9406e417-d091-4546-bcb6-4fc72a92dd5c 📥 CommitsReviewing files that changed from the base of the PR and between 3f98f44 and faa5906. 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. WalkthroughThe change adds conditional activity recording to authentication. MCP POST requests record activity only for tool calls. Protocol messages, malformed payloads, and DELETE requests skip activity recording. Tests cover classification, routes, and authentication behavior. ChangesMCP activity recording
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to faa59 This change narrows activity tracking to meaningful MCP tool calls while preserving credential usage tracking; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
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. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes SOU-2040
Summary
Testing
Note
Medium Risk
Touches auth activity and pending-membership activation, which feed seat usage. Misclassification could under-count real usage or still activate seats on protocol-only MCP traffic.
Overview
Stops MCP handshake, discovery, malformed, and session-close traffic from counting as user activity. Only valid JSON-RPC tools/call requests (including batches) now bump last-active timestamps and activate pending memberships.
Auth wrappers gain an opt-in recordActivity flag (default true). The MCP POST path clones the body to classify the message; DELETE always skips activity. Credential last-used tracking is unchanged.
Reviewed by Cursor Bugbot for commit faa5906. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
Bug Fixes
Tests