Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Oct 13, 2021

Part of #3916

return delegate;
}
Context context = Context.current();
if (context == Context.root()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add some comment to explain why wrapping actions depend on the context being root or not?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@laurit
Copy link
Contributor Author

laurit commented Oct 14, 2021

This pr depends on #4380 because ratpack tests are not spock tests and are flaky because of strict context checks.

@trask trask merged commit abe26ca into open-telemetry:main Oct 14, 2021
@laurit laurit deleted the ratpack-strict-context-check branch October 14, 2021 21:02
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
* Ratpack strict context check

* Add comment, remove logging
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