ci: remove useless cargo hack check from ci/test-check.sh#9994
ci: remove useless cargo hack check from ci/test-check.sh#9994yihau merged 1 commit intoanza-xyz:masterfrom
Conversation
|
Doesn't |
my ultimate goal is to get test-check.sh standalone. I don't think it's a good idea to check a tool which is not used in this script. |
|
also, I think this check is redundant. if the installation is incorrect, the corresponding script should fail anyway🙈 |
I'd have to refresh myself on where That being said, |
|
this check was introduced in solana-labs#33519. it looks like the motivation was to improve the output. I don't think we will hit this in our ci environment, since we already run most of our steps inside a docker image. |
As per our discussion earlier today, users should be able to run the tests on their local machine. So I think it would be good to leave this in here. |
I think that exactly the point. when we run this script (ci/test-check.sh), we will check cargo hack. however, it never uses in this script. it would be very confusing if it failed because of a dependency that is never used |
Looking around the repo, do we still use Let's chat about this on the devops call; I think there might be a misunderstanding that will be easier resolved on Zoom. |
dcou steps are still using it. I will use it in my new feature check step as well. I'm still a bit confused why script B needs a dep but we use script A to check. I guess |
mircea-c
left a comment
There was a problem hiding this comment.
I think that these checks were put in here because this script runs first in the pipeline.
But this is also fine. If the CI fails when run locally, the error will be pretty obvious.
steviez
left a comment
There was a problem hiding this comment.
I guess ci/test-ci-env.sh might be a better place to handle this. however, I expect it will become outdated easily
Yeah, this was my thinking but fair that it could be prone to becoming outdated. In any case, I think we can proceed on this one adjust things back in the future if we need
Problem
(split from #9651)
we don't run any cargo hack related commands in ci/test-check.sh
Summary of Changes
remove the check