Skip to content

Update weaver so that it ONLY imports, even when using the flag.#1442

Open
jsuereth wants to merge 3 commits into
open-telemetry:mainfrom
jsuereth:wip-only-import
Open

Update weaver so that it ONLY imports, even when using the flag.#1442
jsuereth wants to merge 3 commits into
open-telemetry:mainfrom
jsuereth:wip-only-import

Conversation

@jsuereth
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread crates/weaver_resolver/src/registry.rs Fixed
Comment thread crates/weaver_resolver/src/registry.rs Fixed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

❌ Patch coverage is 90.90909% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.1%. Comparing base (d908174) to head (1127eb9).

Files with missing lines Patch % Lines
crates/weaver_resolver/src/dependency.rs 93.6% 3 Missing ⚠️
crates/weaver_resolver/src/registry.rs 84.2% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #1442     +/-   ##
=======================================
- Coverage   82.2%   82.1%   -0.1%     
=======================================
  Files        125     125             
  Lines      10241   10247      +6     
=======================================
- Hits        8424    8423      -1     
- Misses      1817    1824      +7     

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

🚀 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.

@jerbly
Copy link
Copy Markdown
Contributor

jerbly commented May 15, 2026

@jsuereth I tried this locally and it's consistent. So, good to go once you've fixed clippy.

@jsuereth jsuereth marked this pull request as ready for review May 15, 2026 19:17
@jsuereth jsuereth requested a review from a team as a code owner May 15, 2026 19:17
Copy link
Copy Markdown
Member

@lmolkova lmolkova left a comment

Choose a reason for hiding this comment

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

Tried out open-telemetry/opentelemetry-python-genai#55 as an alternative to --include-unreferenced and it also works nicely.

Even without config, this PR does not break old behavior, just changes how it's implemented, so we should be good to go!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can you please add a changelog record?

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