-
Notifications
You must be signed in to change notification settings - Fork 627
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
chore: Publish near-vm-runner
and it's dependencies
#8782
Conversation
…es: near-cache, near-stable-hasher) (#8762) Co-authored-by: Vlad Frolov <frolvlad@gmail.com>
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.
Looks good but I know nothing about attaching the LICENSE files. Consider getting a second opinion.
@andrei-near Pre-commit checks are not enough to be sure we are not breaking things again, do you have a way to verify this does not lead to the same problem again? |
I've noticed that all the packages published contain LICENSE files in their folders. Also, However, we definitely know we don't want to publish
@miraclx can you help us here with |
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.
Blocker resolved in #8785. One little thing.
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.
Let's symlink to the licenses in https://github.com/near/nearcore/tree/master/licenses instead.
Unblocks #8782, `cargo` doesn't require `dev-dependencies` to be published. There's no need for themis to have that requirement.
@andrei-near @jakmeier jobs are green now, thanks to @miraclx |
Can you please add a cc #8781 |
The naive approach of running
I presume the publishing job is defined somewhere else I don't know where or don't have access. |
I believe https://github.com/near/near-ops/blob/a7dbb2cc47addaf3cb294e07c269964c8051c41c/buildkite/pipelines/nearcore-release.yml#L37-L55 is the part that's responsible for publishing the crates. Unfortunately that's not particularly helpful here, as Either way, this is more complicated than I initially anticipated, so I'm not going to block this change on that… |
In that case, coming back to @andrei-near : Do you want to check if the canary build fails again, which you pointed out for the now reverted PR in Zulip, or do you think we can merge this as is? |
I tried thinking a bit about it, but having a TBH I’m not sure the current "bump the version in cargo.toml and CI will publish the changes" scheme is the best one, as CI failures are silent in this case, but I guess anything better would be hard to switch to. |
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.
It seems there are no simple ways to fix this for now and @andrei-near hasn't raised any concerns with merging this, so should we just merge this and check all post-merge CI jobs?
And then while working on limited-replayability, maybe @Ekleog-NEAR you can think more about how the ideal process of publishing would look like? I'd say we can circle back to improve the process once we know how limited-replayability is implemented.
Uhh just noticed this, thank you for merging and sorry for not having noticed I had forgotten to set the automerge label! |
My previous PR #8762 was reverted by #8780 because release automation was broken. Looks like the cause of broken automation was a crate `near-test-contract`. We had a discussion about this package and the reasons to publish it in the first place in the very first PR. Now we have proof that a dependency that mentioned in the `dev-dependencies` section of `Cargo.toml` is not required to be published to crates.io. Once figured out I created a PR #8779 but it was unnoticed and instead all the changes were reverted in #8780. As agreed with @jakmeier I am creating the same changes but disabled `near-test-contract` for publishing necessary crates in the future.
My previous PR #8762 was reverted by #8780 because release automation was broken. Looks like the cause of broken automation was a crate `near-test-contract`. We had a discussion about this package and the reasons to publish it in the first place in the very first PR. Now we have proof that a dependency that mentioned in the `dev-dependencies` section of `Cargo.toml` is not required to be published to crates.io. Once figured out I created a PR #8779 but it was unnoticed and instead all the changes were reverted in #8780. As agreed with @jakmeier I am creating the same changes but disabled `near-test-contract` for publishing necessary crates in the future.
My previous PR #8762 was reverted by #8780 because release automation was broken. Looks like the cause of broken automation was a crate `near-test-contract`. We had a discussion about this package and the reasons to publish it in the first place in the very first PR. Now we have proof that a dependency that mentioned in the `dev-dependencies` section of `Cargo.toml` is not required to be published to crates.io. Once figured out I created a PR #8779 but it was unnoticed and instead all the changes were reverted in #8780. As agreed with @jakmeier I am creating the same changes but disabled `near-test-contract` for publishing necessary crates in the future.
My previous PR #8762 was reverted by #8780 because release automation was broken.
Looks like the cause of broken automation was a crate
near-test-contract
. We had a discussion about this package and the reasons to publish it in the first place in the very first PR. Now we have proof that a dependency that mentioned in thedev-dependencies
section ofCargo.toml
is not required to be published to crates.io.Once figured out I created a PR #8779 but it was unnoticed and instead all the changes were reverted in #8780.
As agreed with @jakmeier I am creating the same changes but disabled
near-test-contract
for publishing necessary crates in the future.