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

refactor: Removed class construction on the segment synthesis and ins… #2837

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

bizob2828
Copy link
Member

…tead provided utility functions that return segment and transaction

Description

In #2833 there was a comment about the classes for the different segment synthesis wasn't the appropriate data structure. This Pr refactors those files into helper methods for construction the segment and transactions(for server otel spans)

@bizob2828
Copy link
Member Author

I will need to rebase once #2836 is merged because it fixes the unit test failure

jsumners-nr
jsumners-nr previously approved these changes Dec 16, 2024
@bizob2828 bizob2828 dismissed jsumners-nr’s stale review December 16, 2024 16:24

The merge-base changed after approval.

…tead provided utility functions that return segment and transaction
@bizob2828 bizob2828 force-pushed the refactor-server-synthesis branch from a761c17 to e0b5554 Compare December 16, 2024 16:28
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.35%. Comparing base (898272d) to head (e0b5554).
Report is 1 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2837      +/-   ##
==========================================
- Coverage   97.35%   97.35%   -0.01%     
==========================================
  Files         303      303              
  Lines       47148    47141       -7     
==========================================
- Hits        45903    45896       -7     
  Misses       1245     1245              
Flag Coverage Δ
integration-tests-cjs-18.x 73.21% <ø> (-0.01%) ⬇️
integration-tests-cjs-20.x 73.21% <ø> (ø)
integration-tests-cjs-22.x 73.24% <ø> (-0.01%) ⬇️
integration-tests-esm-18.x 49.87% <ø> (ø)
integration-tests-esm-20.x 49.87% <ø> (ø)
integration-tests-esm-22.x 49.92% <ø> (ø)
unit-tests-18.x 89.14% <100.00%> (-0.01%) ⬇️
unit-tests-20.x 89.14% <100.00%> (-0.01%) ⬇️
unit-tests-22.x 89.14% <100.00%> (-0.01%) ⬇️
versioned-tests-18.x 79.15% <ø> (ø)
versioned-tests-20.x 79.18% <ø> (+0.02%) ⬆️
versioned-tests-22.x 79.16% <ø> (ø)

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

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

@bizob2828 bizob2828 merged commit 693a3e5 into next Dec 16, 2024
48 checks passed
@bizob2828 bizob2828 deleted the refactor-server-synthesis branch December 16, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants