-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
cargo publish
times out waiting for crate to be in index with sparse-registry with JFrog
#11314
Comments
Could you clarify what you mean by unstable? Could you provide the output? A likely candidate is our new blocking feature. Any idea why this would be incompatible with JFrog? |
Thank you so much for responding so quickly. |
The blocking feature is independent of the index protocol used and is expected to stablize in 1.66. Ideally, we can root cause this quickly to know if there is a fundamental bug in it. There are several parts to where this could be going wrong:
Can you provide reproduction steps verbose Can this be reproduced with your git registry support or with crates.io with either protocol? |
we can't reproduce it with the git registry. |
I've tried creating various test cases to reproduce this but haven't been able to so far. There is a chance there is a bug in JFrog's backend. Could you do some debugging on this to help figure out if its on cargo of JFrog's end? |
cargo publish
times out waiting for crate to be in index with sparse-registry with JFrog
We ruled out the possibility that it was a bug on our side for a number of reasons:
|
That just tells us that the new cargo publish behavior is exhibiting a bug, on one of the two sides. That doesn't tell us which side the bug is on. This could be exposing a bug within the registry that wasn't as noticeable previously. So far with our test HTTP registry, I am not seeing the problem. As I don't have access to JFrog's registry, I can't debug which side its on. |
test(publish): Cover more wait-for-publish cases These came from trying to guess what cases are causing problems in #11314. Unfortunately, can't reproduce it so far but figured it'd be good to keep these around.
Problem
In JFrog we have an automation that verifies the cargo sparse support using the nightly image.
As soon as version cargo 1.66.0-nightly (7e484fc 2022-10-27) was released, we began to notice that publishing was unstable and sometimes took quite a while, which caused a timeout in our tests. The question was if there have been any recent changes in publish that might lead to performance issues.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
No response
The text was updated successfully, but these errors were encountered: