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

regression: Handle live setting forget user session on window close update #33133

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

yash-rajpal
Copy link
Member

@yash-rajpal yash-rajpal commented Aug 22, 2024

Proposed changes (including videos or screenshots)

Meteor recently developed a way to choose the client storage location between local storage and session storage.

We recently started configuring meteor to choose between both location options based on our setting Accounts_ForgetUserSessionOnWindowClose.

There was a small issue, we are handling these updates in a Tracker.autorun which runs everytime any dependency changes. In this case, it wasn't handling this setting change on a live user session.

We shouldn't change the client storage location in the middle of an active session, so this PR fixes it by stopping the autorun and which stops the listening of live setting update, essentially just configuring the client storage location just once in a session.

Issue(s)

Steps to test or reproduce

Further comments

CORE-653

Copy link
Contributor

dionisio-bot bot commented Aug 22, 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 Aug 22, 2024

⚠️ No Changeset found

Latest commit: d050713

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

@yash-rajpal yash-rajpal added this to the 6.12 milestone Aug 22, 2024
Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.38%. Comparing base (10baefd) to head (d050713).
Report is 18 commits behind head on release-6.12.0.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           release-6.12.0   #33133      +/-   ##
==================================================
- Coverage           59.39%   59.38%   -0.01%     
==================================================
  Files                2547     2547              
  Lines               63241    63242       +1     
  Branches            14223    14225       +2     
==================================================
  Hits                37559    37559              
- Misses              22974    22975       +1     
  Partials             2708     2708              
Flag Coverage Δ
unit 75.84% <ø> (-0.01%) ⬇️

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

@yash-rajpal yash-rajpal marked this pull request as ready for review August 22, 2024 22:04
@yash-rajpal yash-rajpal requested a review from a team as a code owner August 22, 2024 22:04
@jessicaschelly jessicaschelly added the stat: QA assured Means it has been tested and approved by a company insider label Aug 22, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Aug 22, 2024
@ggazzo ggazzo self-assigned this Aug 23, 2024
@yash-rajpal yash-rajpal changed the base branch from develop to release-6.12.0 August 23, 2024 13:27
@ggazzo ggazzo merged commit d4dde2b into release-6.12.0 Aug 26, 2024
56 checks passed
@ggazzo ggazzo deleted the reg/forget-user-session branch August 26, 2024 12:39
@scuciatto
Copy link
Member

/backport 6.10.5

Copy link
Contributor

dionisio-bot bot commented Aug 26, 2024

Pull request #33150 added to Project: "Patch 6.10.5"

@RocketChat RocketChat deleted a comment from dionisio-bot bot Aug 27, 2024
@scuciatto
Copy link
Member

/patch

3 similar comments
@matheusbsilva137
Copy link
Member

/patch

@ggazzo
Copy link
Member

ggazzo commented Aug 27, 2024

/patch

@ggazzo
Copy link
Member

ggazzo commented Aug 27, 2024

/patch

Copy link
Contributor

dionisio-bot bot commented Aug 27, 2024

Pull request #33165 added to Project: "Patch 6.11.2"

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.

6 participants