Skip to content

Conversation

@KevLehman
Copy link
Member

@KevLehman KevLehman commented Jul 30, 2025

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.

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Jul 30, 2025

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented Jul 30, 2025

🦋 Changeset detected

Latest commit: f8a9833

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 39 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/http-router Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/mock-providers Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/ui-voip Patch
@rocket.chat/instance-status Patch
@rocket.chat/omni-core Patch
@rocket.chat/omni-core-ee Patch

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

@github-actions
Copy link
Contributor

github-actions bot commented Jul 30, 2025

PR Preview Action v1.6.2

🚀 View preview at
https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-36577/

Built to branch gh-pages at 2025-07-30 22:24 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.83%. Comparing base (09b424b) to head (f8a9833).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             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     
Flag Coverage Δ
e2e 57.88% <ø> (-0.02%) ⬇️
unit 71.11% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@KevLehman KevLehman added this to the 7.10.0 milestone Jul 30, 2025
@KevLehman KevLehman marked this pull request as ready for review July 30, 2025 20:43
@KevLehman KevLehman requested a review from a team as a code owner July 30, 2025 20:43
sampaiodiego
sampaiodiego previously approved these changes Jul 30, 2025
@sampaiodiego sampaiodiego added the stat: QA assured Means it has been tested and approved by a company insider label Jul 30, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Jul 30, 2025
@kodiakhq kodiakhq bot merged commit eed22e5 into develop Jul 31, 2025
89 of 91 checks passed
@kodiakhq kodiakhq bot deleted the fix/room-to-queue branch July 31, 2025 04:07
@sampaiodiego
Copy link
Member

/patch

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Jul 31, 2025

Pull request #36581 added to Project: "Patch 7.9.1"

@sampaiodiego
Copy link
Member

/backport 7.8.4

@sampaiodiego
Copy link
Member

/backport 7.7.8

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Jul 31, 2025

Pull request #36582 added to Project: "Patch 7.8.4"

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Jul 31, 2025

Pull request #36583 added to Project: "Patch 7.7.8"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants