You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #6723, I attempted to move component.Factories and componenttest.NopFactories to otelcol and otelcoltest, respectively. However, I was not able to identify a clear separation point between service and otelcol packages.
Both otelcol and service contain many references to Factories.
otelcol contains many references to service.
Therefore, Factories can exist in service without causing import cycles, but the opposite is not true.
In order to move Factories to otelcol, we must determine which of the two points above should change. Should otelcol not depend on service, or should service not depend on Factories?
The text was updated successfully, but these errors were encountered:
In #6723, I attempted to move
component.Factories
andcomponenttest.NopFactories
tootelcol
andotelcoltest
, respectively. However, I was not able to identify a clear separation point betweenservice
andotelcol
packages.Additional context: #6723 (comment)
The immediate problems are:
otelcol
andservice
contain many references toFactories
.otelcol
contains many references toservice
.Therefore,
Factories
can exist inservice
without causing import cycles, but the opposite is not true.In order to move
Factories
tootelcol
, we must determine which of the two points above should change. Shouldotelcol
not depend onservice
, or shouldservice
not depend onFactories
?The text was updated successfully, but these errors were encountered: