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

🐛 [RUM-2445] fix unexpected session renewal after explicit session expiration #2632

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Mar 4, 2024

Motivation

When calling stopSession or setTrackingConsent('not-granted'), the session should expire. But if for some reason the session expand/renewal was scheduled (ex: after some user interaction), a new session was created.

Changes

Cancel any scheduled session expand/renewal when expiring the session.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner March 4, 2024 17:32
@BenoitZugmeyer
Copy link
Member Author

/to-staging

@dd-devflow
Copy link
Contributor

dd-devflow bot commented Mar 4, 2024

🚂 Branch Integration: starting soon, merge in < 0s

Commit 532f7bc242 will soon be integrated into staging-10.

This build is going to start soon! (estimated merge in less than 0s)

Use /to-staging -c to cancel this operation!

dd-mergequeue bot added a commit that referenced this pull request Mar 4, 2024
@dd-devflow
Copy link
Contributor

dd-devflow bot commented Mar 4, 2024

🚂 Branch Integration: This commit was successfully integrated

Commit 532f7bc242 has been merged into staging-10 in merge commit 3896374ffe.

Check out the triggered pipeline on Gitlab 🦊

@dd-devflow dd-devflow bot added the staging-10 label Mar 4, 2024
@BenoitZugmeyer BenoitZugmeyer merged commit 0c562b8 into main Mar 5, 2024
18 checks passed
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/consent--fix-consent-fast-switch branch March 5, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants