Conversation
* feat: add computeIdleDaysExcludingOOO function and update user status handling * fix: improve error handling and data retrieval in Discord user status updates * fix: enhance user status update logic and improve edge case handling in computeIdleDaysExcludingOOO * feat: implement oooPeriods management and enhance idle day calculations in user status * fix: update test expectations for user status data retrieval to use include.keys * feat: add comprehensive documentation for group idle 7d+ workflow and enhance user status management with new OOO period handling * chore: add logger import * feat: Implement `idleWindowStartedAt` and refine OOO period calculation for accurate group idle 7d+ tracking, alongside new documentation. * feat: add `resolveLastOooUntil` utility to manage OOO state transitions and update user status handling accordingly * feat: initialize `lastOooUntil` property in user status updates to enhance OOO state management * feat: enhance user status update logic by incorporating `previousUntil` for improved OOO state transition handling * refactor: rename `idleWindowStartedAt` to `idleFrom` for consistency in user status management and update related tests * refactor: rename variables for clarity in user status updates and improve time handling in idle user calculations * refactor: update task status update endpoint and improve test assertions for user idle state * feat: add idleFrom property to user status data for improved tracking of idle state
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 Tip CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present. |
|
@prakashchoudhary07, here is the issue for fixing the edge case |
Date: 18-03-2026
Developer Name: @vinit717
Issue Ticket Number
#2038
PR going to sync
#2584
Description
Fix the flow to tag idle 7 day + correctly
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1