-
Notifications
You must be signed in to change notification settings - Fork 37
reintroduce the cache breakage to test the ci changes #513
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
Conversation
|
Hmm, I'm not exactly sure whether the checks ran or not/how to find the logs from the Anyhow, I'm a bit uncertain how to test something we don't actually want committed :) |
|
Testing this locally, alas, is a bit tricky. I suppose one could use (say) |
|
Welp, I'm definitely confused, and the way I have been thinking about the cache is slightly backwards from the way it is documented to work. It also doesn't help that in the interim I stumbled upon a known cargo footgun, in emitting rerun-if-changed apparently disables the automatic So i'm hoping we can resolve: I.e. I thought it was 'if the input is newer than the output` but the cache is unmodified we can skip regeneration. But the comment seems to be describing something else, where the output is newer than the input, and we may still need to regenerate. But I don't understand because the subsequent branches don't seem to be able to cause it to regenerate, only skip the regeneration. So, I'm uncertain whether that comparison should be flipped e.g. to Anyhow the following shell script does "panic" if I do a couple of things:
At least that makes the cache do what I thought it was supposed to. So if my understanding is wrong we definitely seem to need to
|
|
So above and beyond that for some reason I don't actually see Anyhow I think that there are probably multiple layers to my confusion, and I wouldn't be surprised to learn that Edit: Aha, Footgun 2x, I forgot to remove the rerun-if-changed line from lrlex too. |
06e96ed to
a9f67f5
Compare
|
Well, I'm not sure what more I can try, I feel confident that the .buildbot.sh check should be working, As such I'll probably just close this but do let me know if there are any ideas. |
|
@ratmice I agree. |
This is just testing previous CI changes catch things, do not merge!