Skip to content

Comments

build: lazy load initialization modules#41408

Merged
viceice merged 3 commits intomainfrom
build/refactor-init
Feb 23, 2026
Merged

build: lazy load initialization modules#41408
viceice merged 3 commits intomainfrom
build/refactor-init

Conversation

@viceice
Copy link
Member

@viceice viceice commented Feb 23, 2026

Changes

Otherwise you see warning with otel loglevel=debug, eg:

@opentelemetry/instrumentation-bunyan Module bunyan has been loaded before @opentelemetry/instrumentation-bunyan so it might not work, please initialize it before requiring bunyan

bunyan isn't fixed yet, see comment. Will fi in a follow up

Context

Please select one of the following:

  • This closes an existing Issue, Closes: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository:

Copy link
Member

@secustor secustor left a comment

Choose a reason for hiding this comment

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

LGF

@viceice viceice enabled auto-merge February 23, 2026 13:46
@viceice viceice added this pull request to the merge queue Feb 23, 2026
Merged via the queue into main with commit ea089ac Feb 23, 2026
45 checks passed
@viceice viceice deleted the build/refactor-init branch February 23, 2026 14:23
@github-actions
Copy link
Contributor

🎉 This PR is included in version 43.31.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants