Skip to content
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

fix: Re-login same browser tab issues #32479

Merged
merged 3 commits into from
May 24, 2024
Merged

fix: Re-login same browser tab issues #32479

merged 3 commits into from
May 24, 2024

Conversation

ggazzo
Copy link
Member

@ggazzo ggazzo commented May 23, 2024

Proposed changes (including videos or screenshots)

It seems that by optimizing to avoid multiple subscriptions to the same stream, the listeners were not being removed when the subscription was canceled (due to factors like logout), thus remaining cached and never being executed again.

Issue(s)

introduced here: #31345

Steps to test or reproduce

Further comments

SUP-581

Copy link
Contributor

dionisio-bot bot commented May 23, 2024

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

Copy link

changeset-bot bot commented May 23, 2024

🦋 Changeset detected

Latest commit: b082ab8

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

This PR includes changesets to release 32 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts 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/api-client Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/ddp-client Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/models Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status 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

Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.27%. Comparing base (c6450b1) to head (b082ab8).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #32479      +/-   ##
===========================================
+ Coverage    56.22%   56.27%   +0.04%     
===========================================
  Files         2425     2428       +3     
  Lines        53522    53560      +38     
  Branches     11024    11032       +8     
===========================================
+ Hits         30093    30141      +48     
+ Misses       20806    20777      -29     
- Partials      2623     2642      +19     
Flag Coverage Δ
e2e 55.87% <100.00%> (-0.02%) ⬇️
unit 72.30% <ø> (+0.01%) ⬆️

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

Co-authored-by: MartinSchoeler <martin.schoeler@rocket.chat>
@ggazzo ggazzo changed the title fix: Re-login same websocket issues fix: Re-login same browser tab issues May 24, 2024
@ggazzo ggazzo modified the milestones: 6.10, 6.9 May 24, 2024
@ggazzo ggazzo marked this pull request as ready for review May 24, 2024 01:42
@ggazzo ggazzo requested a review from a team as a code owner May 24, 2024 01:42
@MartinSchoeler MartinSchoeler added the stat: QA assured Means it has been tested and approved by a company insider label May 24, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label May 24, 2024
@kodiakhq kodiakhq bot merged commit 526cbf1 into develop May 24, 2024
49 checks passed
@kodiakhq kodiakhq bot deleted the fix/relogin-streams branch May 24, 2024 13:07
@ggazzo
Copy link
Member Author

ggazzo commented May 24, 2024

/patch

Copy link
Contributor

dionisio-bot bot commented May 24, 2024

Pull request #32494 added to Project: "Patch 6.8.1"

@ggazzo
Copy link
Member Author

ggazzo commented May 24, 2024

/backport 6.7.4

Copy link
Contributor

dionisio-bot bot commented May 24, 2024

Pull request #32495 added to Project: "Patch 6.7.4"

@ggazzo
Copy link
Member Author

ggazzo commented May 24, 2024

/backport 6.6.9

Copy link
Contributor

dionisio-bot bot commented May 24, 2024

Pull request #32497 added to Project: "Patch 6.6.9"

ggazzo added a commit that referenced this pull request May 24, 2024
gabriellsh added a commit that referenced this pull request May 28, 2024
…retention

* 'develop' of github.com:RocketChat/Rocket.Chat: (36 commits)
  refactor: IntegrationHistory out of DB Watcher (#32502)
  fix: Message update being broadcasted without updated values (#32472)
  test: make api teams test fully independent (#31756)
  test: Fix test name (#32490)
  fix: streams being called with no logged user (#32489)
  feat: Un-encrypted messages not allowed in E2EE rooms (#32040)
  feat(UiKit): Users select (#31455)
  fix: Re-login same browser tab issues (#32479)
  chore: move all webclient code out of the COSS folders (#32273)
  chore(deps): bump thehanimo/pr-title-checker from 1.3.7 to 1.4.1 (#30619)
  fix: Don't show join default channels option for edit user form  (#31750)
  fix: CAS user merge not working (#32444)
  fix: Overriding Retention Policy not working (#32454)
  fix: `rooms.export` endpoint generates an empty export when given an invalid date (#32364)
  fix: "Allow Password Change for OAuth Users" setting is not honored in the "Forgot Password" flow (#32398)
  fix: Bypass trash when removing OTR system messages and read receipts (#32269)
  fix: Monitors dissapearing from Unit upon edit (#32393)
  fix: Link image preview not opening in gallery (#32391)
  feat: Allow visitors & integrations to access downloaded files after a room has closed (#32439)
  regression: Users tab misaligned (#32451)
  ...
gabriellsh added a commit that referenced this pull request Jun 3, 2024
…retention

* 'develop' of github.com:RocketChat/Rocket.Chat:
  Release 6.9.0
  Release 6.9.0-rc.2
  fix: User status when setting "Use REST instead of websocket for Meteor calls" is disabled (#32500)
  fix: User status when setting "Use REST instead of websocket for Meteor calls" is disabled (#32500)
  regression: Hide prune section based on permission (#32531)
  fix: Users in role table not rendering the empty state properly (#32412)
  refactor: EmailInbox out of DB Watcher (#32501)
  ci: increase issue allowed stale time (#32523)
  regression: Remove impossible sorting from users table "registration status" column (#32506)
  feat: Add contentDisposition option to file storages (#31974)
  i18n: Rocket.Chat language update from LingoHub 🤖 on 2024-05-28Z (#32508)
  Release 6.9.0-rc.1
  fix: Re-login same browser tab issues (#32479)
  regression: Replace read receipt single icon (#32486)
  regression: Incorrect retention policy banner's display rule for teams (#32483)
  chore: Publish npm packages again (#32463)
  ci: publish missing Omnichannel services to DockerHub (#32462)
  Release 6.9.0-rc.0
This was referenced Jun 22, 2024
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