RealDevSquad / RealDevSquad/website-backend
User Status Management Issues for OOO and Idle States
Open
@vinit717 is already working on this.
Since Apr 8, 2026.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Description
There are multiple issues in the user status lifecycle affecting OOO transitions, IDLE state accuracy, and 7-day idle tracking for Discord roles. These bugs cause users to get stuck in incorrect states or miss expected transitions entirely.
Current Behavior
-
Users remain stuck in OOO indefinitely
- Users who return from OOO still appear as
OOO. - No automatic transition back to
ACTIVEorIDLE.
- Users who return from OOO still appear as
-
Users are marked IDLE during active OOO
- Some users in OOO are incorrectly transitioned to
IDLEbefore their OOO period ends.
- Some users in OOO are incorrectly transitioned to
-
7-day idle tracking is broken
- Users who should qualify for
group-idle-7d+never receive the role. - Idle duration is effectively always calculated as
0.
- Users who should qualify for
Expected Behavior
-
OOO should end automatically
- When the OOO
untiltime passes, users should transition correctly to:ACTIVE(default), orIDLE(if applicable based on activity)
- When the OOO
-
OOO state should not be interrupted
- Users must remain in
OOOfor the full duration defined byuntil.
- Users must remain in
-
Idle tracking should be accurate
- When a user becomes
IDLE,idleFrommust be set. - Users idle for 7+ days should correctly receive the Discord role.
- When a user becomes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.