-
Notifications
You must be signed in to change notification settings - Fork 13.1k
fix: Remove room assignment before queueing the conversation again when transfering #36577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: f8a9833 The changes in this PR will be included in the next version bump. This PR includes changesets to release 39 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #36577 +/- ##
===========================================
- Coverage 65.86% 65.83% -0.03%
===========================================
Files 3189 3190 +1
Lines 106679 106653 -26
Branches 20303 20349 +46
===========================================
- Hits 70264 70215 -49
- Misses 33742 33774 +32
+ Partials 2673 2664 -9
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/patch |
|
Pull request #36581 added to Project: "Patch 7.9.1" |
|
/backport 7.8.4 |
|
/backport 7.7.8 |
|
Pull request #36582 added to Project: "Patch 7.8.4" |
|
Pull request #36583 added to Project: "Patch 7.7.8" |
Proposed changes (including videos or screenshots)
Issue(s)
https://rocketchat.atlassian.net/browse/CTZ-291
Steps to test or reproduce
Further comments
This was causing a race condition between the chat being "queued" but not unassigned (servedBy was still on room) and the queue worker picking it up to process, finding out it was in an "inconsistent" state and "fixing" the room (moving the inquiry to "taken").
This at the end caused a chat that was not in the queue, but no one was serving as it was "taken" effectively.