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] simplify context manager sync with local storage #2562

Merged

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Jan 10, 2024

Motivation

The goal of this commit is to reduce the logsPublicApi and rumPublicApi modules by factorizing more of the
"storeContextsAcrossPages" feature logic.

Changes

Instead of creating a new context manager, this new implementation simply subscribe to the existing one. The behavior should be the same as before.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

The goal of this commit is to reduce the `logsPublicApi` and
`rumPublicApi` modules by factorizing more of the
"storeContextsAcrossPages" feature logic.

Instead of creating a new context manager, this new implementation
simply subscribe to the existing one. The behavior should be the same as
before.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4f28486) 92.85% compared to head (329894e) 92.87%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2562      +/-   ##
==========================================
+ Coverage   92.85%   92.87%   +0.02%     
==========================================
  Files         228      228              
  Lines        6744     6735       -9     
  Branches     1480     1480              
==========================================
- Hits         6262     6255       -7     
+ Misses        482      480       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BenoitZugmeyer
Copy link
Member Author

/to-staging

@dd-devflow
Copy link
Contributor

dd-devflow bot commented Jan 10, 2024

🚂 Branch Integration: 2 builds ahead, merge in < 7m

Commit 329894e32e will soon be integrated into staging-02.

There are 2 builds ahead! (estimated merge in less than 7m)

you can cancel this operation by commenting your pull request with /to-staging -c!

dd-mergequeue bot added a commit that referenced this pull request Jan 10, 2024
…t-manager into staging-02

Co-authored-by: Benoît Zugmeyer <benoit.zugmeyer@datadoghq.com>
@dd-devflow
Copy link
Contributor

dd-devflow bot commented Jan 10, 2024

🚂 Branch Integration: This commit was successfully integrated

Commit 329894e32e has been merged into staging-02 in merge commit f9d33160de.

Check out the triggered pipeline on Gitlab 🦊

@BenoitZugmeyer BenoitZugmeyer marked this pull request as ready for review January 11, 2024 14:16
@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner January 11, 2024 14:16
@BenoitZugmeyer BenoitZugmeyer merged commit fe9fb03 into main Jan 15, 2024
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/consent--simplify-stored-context-manager branch January 15, 2024 14:14
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.

4 participants