Skip to content

Commit 961d485

Browse files
authored
ci: fix cyclical dependency in release-please (#591)
* ci: fix cyclical dependency in release-please Signed-off-by: Gustavo Inacio <[email protected]> * chore: add comment about release-please trick Signed-off-by: Gustavo Inacio <[email protected]> --------- Signed-off-by: Gustavo Inacio <[email protected]>
1 parent d9c7af9 commit 961d485

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

crates/tap-agent/Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ lazy_static.workspace = true
3434
thegraph-core.workspace = true
3535
clap.workspace = true
3636
tracing-subscriber.workspace = true
37-
tonic.workspace = true
37+
tonic.workspace = true
3838
bigdecimal = { workspace = true, features = ["serde"] }
3939
graphql_client.workspace = true
4040

@@ -49,14 +49,17 @@ ractor = { version = "0.14", features = [
4949
tap_aggregator.workspace = true
5050
futures = { version = "0.3.30", default-features = false }
5151
bon = "3.3"
52-
test-assets = { path = "../test-assets" , optional=true}
52+
test-assets = { path = "../test-assets", optional = true }
5353

5454
[dev-dependencies]
55+
# Release-please breaks with cyclical dependencies if dev-dependencies
56+
# import the current crate. For testing we import the current crate with the `test`
57+
# feature enabled in order to enable test-only infrastructure within our app when running tests.
58+
my-crate = { package = "indexer-tap-agent", path = ".", features = ["test"] }
5559
tempfile = "3.8.0"
5660
wiremock.workspace = true
5761
wiremock-grpc = "0.0.3-alpha3"
5862
test-assets = { path = "../test-assets" }
5963
test-log = { version = "0.2.12", default-features = false }
6064
bon = "3.3"
6165
rstest = "0.24.0"
62-
indexer-tap-agent = { path = ".", features = ["test"] }

0 commit comments

Comments
 (0)