-
Notifications
You must be signed in to change notification settings - Fork 93
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
ci(release): enforce acyclic dep order during release #1200
Conversation
this is to remove ibc-testkit dev-dependency
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1200 +/- ##
==========================================
+ Coverage 64.34% 64.39% +0.04%
==========================================
Files 229 229
Lines 22005 22017 +12
==========================================
+ Hits 14160 14178 +18
+ Misses 7845 7839 -6 ☔ View full report in Codecov by Sentry. |
d04159e
to
35e12e0
Compare
I think this makes sense. I think it's fine to not release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some more documentation on how to resolve acyclic dev dependencies. It looks good to me now 👍
* mv tendermint client cw tests to testkit this is to remove ibc-testkit dev-dependency * note for acyclic release order * test proto::Any json ser-der * nit * fix unused imports * cargo format * update releases process * Add more instructions on how to deal with cyclic dependencies --------- Co-authored-by: Sean Chen <[email protected]>
Closes: #XXX
Description
The latest release failed on CI because it tried to release
ibc-client-tendermint-cw
beforeibc-testkit
. Butibc-client-tendermint-cw
has a dev-dependency toibc-testkit
.It looks like it is an issue at
cargo-release
, as it ignores dev-dependency edges.Important
The workspace crates must not depend on
ibc-testkit
- as it depends onibc
.Also, there is a question: should we release cosmwasm contracts on crates-io, e.g.
ibc-client-tendermint-cw
, on crates-io? If not, we should exclude them incargo-release
command. Maybe we can compile and add the wasm blobs to release artifacts.PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.