Hopefully fixed afk tracking and removed ROBLOX_WORKSPACE_REDIRECTID - #197
Conversation
…as it isn't a required variable.
|
Warning Review limit reached
Next review available in: 9 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. 📝 WalkthroughWalkthroughOrbit activity tracking replaces delayed AFK checks with configurable polling, lowers the AFK threshold to one minute, and removes obsolete state and heartbeat settings. The README removes an obsolete deployment environment variable. ChangesAFK tracking
Deployment documentation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant AFK polling task
participant PlayerState
participant AFK state
AFK polling task->>PlayerState: Check tracked online players
PlayerState->>AFK state: Compare idle time with minutesTillAFK
AFK state-->>PlayerState: Mark idle players as AFK
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@Orbit-activity.rbxmx`:
- Around line 590-592: Update the PlayerData iteration condition in the AFK
polling loop to also require isUserTracked(Player), so AFK state updates and
logs only occur for tracked, online, non-AFK players.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 60fb1b2f-70d7-427b-a2f1-cb768e3ac97c
📒 Files selected for processing (2)
Orbit-activity.rbxmxREADME.md
💤 Files with no reviewable changes (1)
- README.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Pull Request
Thank you for contributing to Orbit! 🐈
Before submitting, please make sure you have read the Contributing Guide.
Description
I've changed the way the tracker awaits till it can flag the user as AFK and removed the row
ROBLOX_WORKSPACE_REDIRECTIDas it isn't a required variable in README.mdType of Change
Testing
Describe how you tested your changes.
Checklist
Additional Notes
N/A
Summary by CodeRabbit
New Features
Documentation