Skip to content

fix: processQueue never recovers from exceptions #34221

Closed
ggazzo wants to merge 2 commits intodevelopfrom
fix/apps-queue
Closed

fix: processQueue never recovers from exceptions #34221
ggazzo wants to merge 2 commits intodevelopfrom
fix/apps-queue

Conversation

@ggazzo
Copy link
Member

@ggazzo ggazzo commented Dec 19, 2024

…ing sync

if by any reason await Transport.send(message); processing never goes to false again, preventing processQueue to be processed, also since the message was being popped, the message was being "discarted"

using dispose we dont need to try/catch

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Dec 19, 2024

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented Dec 19, 2024

⚠️ No Changeset found

Latest commit: 87ae3d6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2024

PR Preview Action v1.6.0

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

Built to branch gh-pages at 2025-01-13 14:26 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.99%. Comparing base (0517a05) to head (87ae3d6).
Report is 59 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           develop   #34221       +/-   ##
============================================
+ Coverage    59.12%   74.99%   +15.86%     
============================================
  Files         2819      516     -2303     
  Lines        67939    22746    -45193     
  Branches     15134     5518     -9616     
============================================
- Hits         40172    17059    -23113     
+ Misses       24934     5023    -19911     
+ Partials      2833      664     -2169     
Flag Coverage Δ
e2e ?
e2e-api ?
unit 74.99% <ø> (ø)

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

@ggazzo ggazzo changed the title fix: app queue fix: processQueue never recovers from exceptions Dec 20, 2024
@ggazzo ggazzo added this to the 7.2.0 milestone Dec 20, 2024
@ggazzo ggazzo marked this pull request as ready for review December 20, 2024 05:04
@ggazzo ggazzo requested a review from a team as a code owner December 20, 2024 05:04
@scuciatto scuciatto modified the milestones: 7.2.0, 7.3.0 Jan 6, 2025
@ggazzo ggazzo closed this Jan 28, 2025
@tassoevan tassoevan deleted the fix/apps-queue branch July 30, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants