Skip to content

Conversation

Joozty
Copy link

@Joozty Joozty commented Aug 20, 2025

Which problem is this PR solving?

I need to override some functionality in my code. I want to use new wrapper functions instead of relying on the old shimmer, which is incorrectly typed. I added an export so that I can use these new functions in my derived code, which is heavily based on OTel.

Fixes # (issue)

Short description of the changes

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added
  • Documentation has been updated

@Joozty Joozty requested a review from a team as a code owner August 20, 2025 09:57
Copy link

linux-foundation-easycla bot commented Aug 20, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: Joozty / name: Jozef Harag (8c7831c)

Copy link

codecov bot commented Aug 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.03%. Comparing base (8d0dcea) to head (8c7831c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5865   +/-   ##
=======================================
  Coverage   95.03%   95.03%           
=======================================
  Files         306      306           
  Lines        7969     7969           
  Branches     1611     1611           
=======================================
  Hits         7573     7573           
  Misses        396      396           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@david-luna david-luna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have a strong opinion on exposing this to the public API.

cc: @open-telemetry/javascript-maintainers

@@ -33,3 +33,4 @@ export {
safeExecuteInTheMiddleAsync,
} from './utils';
export { SemconvStability, semconvStabilityFromStr } from './semconvStability';
export * from './shimmer'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do explicit exports and make sure you mark what is a type or not. It's necessary since we enabled isolatedModules in #5697

Copy link
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have a strong opinion on exposing this to the public API.

I also don't have a strong preference. Though if we do export these, we should also deprecate the re-exports on the instrumentation base classes so that people are not left wondering which one is the "correct" one to use now.

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.

3 participants