Skip to content

Add null guards 4 - #8968

Open
jack-berg wants to merge 3 commits into
open-telemetry:mainfrom
jack-berg:null-guard-applied-4
Open

jack-berg wants to merge 3 commits into
open-telemetry:mainfrom
jack-berg:null-guard-applied-4

Conversation

@jack-berg

Copy link
Copy Markdown
Member

Related to #8802.

See #8863 description for methodology.

  • io.opentelemetry.api.trace.SpanId
  • io.opentelemetry.api.trace.TraceFlags
  • io.opentelemetry.api.trace.TraceId
  • io.opentelemetry.api.trace.TracerProvider
  • io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
  • io.opentelemetry.context.ArrayBasedContext
  • io.opentelemetry.context.Context
  • io.opentelemetry.context.ContextKey
  • io.opentelemetry.context.ContextStorage
  • io.opentelemetry.context.StrictContextStorage

- io.opentelemetry.api.trace.SpanId
- io.opentelemetry.api.trace.TraceFlags
- io.opentelemetry.api.trace.TraceId
- io.opentelemetry.api.trace.TracerProvider
- io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
- io.opentelemetry.context.ArrayBasedContext
- io.opentelemetry.context.Context
- io.opentelemetry.context.ContextKey
- io.opentelemetry.context.ContextStorage
- io.opentelemetry.context.StrictContextStorage
@jack-berg
jack-berg requested a review from a team as a code owner October 19, 2026 20:53
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on the author · refreshed 2026-10-19 22:25 UTC

Investigate required status check failures. Note: codecov/patch is also failing but is not a required check.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with reviewers? Comment /dashboard route:reviewers to route it to them.
  • Anything wrong — including the routing? Report it with what you expected; it helps us improve the dashboard.

@codecov

codecov Bot commented Oct 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 63.07692% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.36%. Comparing base (b32298a) to head (0e66ab6).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...va/io/opentelemetry/context/ArrayBasedContext.java 25.00% 4 Missing and 2 partials ⚠️
...in/java/io/opentelemetry/api/trace/TraceFlags.java 0.00% 2 Missing and 1 partial ⚠️
...ava/io/opentelemetry/api/trace/TracerProvider.java 0.00% 2 Missing and 1 partial ⚠️
...rc/main/java/io/opentelemetry/context/Context.java 81.25% 2 Missing and 1 partial ⚠️
...main/java/io/opentelemetry/context/ContextKey.java 0.00% 2 Missing and 1 partial ⚠️
.../java/io/opentelemetry/context/ContextStorage.java 0.00% 2 Missing and 1 partial ⚠️
...io/opentelemetry/context/StrictContextStorage.java 0.00% 2 Missing and 1 partial ⚠️

❌ Your patch check has failed because the patch coverage (63.07%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8968      +/-   ##
============================================
- Coverage     90.40%   90.36%   -0.05%     
- Complexity    10898    10910      +12     
============================================
  Files          1015     1015              
  Lines         29843    29909      +66     
  Branches       3896     3911      +15     
============================================
+ Hits          26981    27026      +45     
- Misses         1910     1924      +14     
- Partials        952      959       +7     

☔ View full report in Codecov by Harness.
📢 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.

This branch has not been deployed

No deployments
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.

1 participant