Skip to content

Revert "Remove shared ThreadLocal scopes"#2603

Merged
xgouchet merged 1 commit into
developfrom
xgouchet/revert_shared_scopes
Apr 16, 2025
Merged

Revert "Remove shared ThreadLocal scopes"#2603
xgouchet merged 1 commit into
developfrom
xgouchet/revert_shared_scopes

Conversation

@xgouchet

Copy link
Copy Markdown
Contributor

This reverts commit 32afc41.

What does this PR do?

The original commit attempted to allow using the tracer in a kotlin coroutine context, but ended up leading to possible memory leaks. Before we write a better integration with couroutines, we revert this to prevent the memory leak

@xgouchet
xgouchet requested review from a team as code owners April 15, 2025 08:50
0xnm
0xnm previously approved these changes Apr 15, 2025
jonathanmos
jonathanmos previously approved these changes Apr 15, 2025
@xgouchet
xgouchet dismissed stale reviews from jonathanmos and 0xnm via 091f38b April 16, 2025 09:52
@xgouchet
xgouchet force-pushed the xgouchet/revert_shared_scopes branch from 7e44a34 to 091f38b Compare April 16, 2025 09:52
@xgouchet
xgouchet force-pushed the xgouchet/revert_shared_scopes branch from 091f38b to 678f10b Compare April 16, 2025 09:53
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.20%. Comparing base (9e372fd) to head (678f10b).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2603      +/-   ##
===========================================
+ Coverage    70.17%   70.20%   +0.03%     
===========================================
  Files          812      812              
  Lines        30404    30404              
  Branches      5088     5088              
===========================================
+ Hits         21335    21345      +10     
- Misses        7652     7658       +6     
+ Partials      1417     1401      -16     
Files with missing lines Coverage Δ
...entracing/scopemanager/ContextualScopeManager.java 56.76% <100.00%> (ø)

... and 31 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xgouchet
xgouchet merged commit e236274 into develop Apr 16, 2025
@xgouchet
xgouchet deleted the xgouchet/revert_shared_scopes branch April 16, 2025 13:40
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.

4 participants