Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove circular dependencies. #1668

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

saturnflyer
Copy link
Contributor

Requiring ddtrace leads to requiring these files which in turn require ddtrace

@saturnflyer saturnflyer requested a review from a team September 2, 2021 13:55
@ivoanjo ivoanjo self-assigned this Sep 6, 2021
Copy link
Member

@ivoanjo ivoanjo left a comment

Choose a reason for hiding this comment

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

Hey Jim!

Thanks for the contribution, the circular dependencies warning can be quite annoying when one is trying to run a tight warning-free shop ;)

I've left a few notes regarding some require 'ddtrace's that are actually intended, as we have some use-cases where they do get used as entry points to the library, if you could remove them, we'll be very thankful for the contribution :)

lib/ddtrace/auto_instrument.rb Outdated Show resolved Hide resolved
lib/datadog/ci.rb Outdated Show resolved Hide resolved
lib/ddtrace/opentracer.rb Outdated Show resolved Hide resolved
lib/ddtrace/profiling/preload.rb Outdated Show resolved Hide resolved
@saturnflyer
Copy link
Contributor Author

thanks for the feedback @ivoanjo

Copy link
Member

@ivoanjo ivoanjo left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution! LGTM 👍

@ivoanjo ivoanjo merged commit 41f04bc into DataDog:master Sep 8, 2021
@github-actions github-actions bot added this to the 0.53.0 milestone Sep 8, 2021
@saturnflyer saturnflyer deleted the circular-dependencies branch September 8, 2021 14:48
@marcotc marcotc added community Was opened by a community member core Involves Datadog core libraries labels Sep 27, 2021
@marcotc
Copy link
Member

marcotc commented Oct 6, 2021

@saturnflyer, thank you again for your contribution. 0.53.0 was just released, including the changes in this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Was opened by a community member core Involves Datadog core libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants