Closed RomeoV closed 2 months ago
Thanks for the contribution! I was hoping that the runReason
display text would help with this. Were you unable to see it for some reason?
The run reason were not displayed, neither when adding "--trace" nor the "--verbose" flag. I agree they would have surely helped. However, i think it's still worth documenting.
The run reason were not displayed
What version of dud are you using?
Indeed I was on an old version (0.4.3). With 0.4.5, I get the output! Closing this PR then. Thanks!
It was not clear to me from the docs that stages without an input stage are always rerun, thus invalidating any downstream stages. I just spent half an hour debugging this, and haven't seen this documented clearly. Instead I found it here in the code: https://github.com/kevin-hanselman/dud/blob/1b99eff4946977c4774cfabc56de2a3f9fbfe2cb/src/index/run.go#L55-L58
I think it would be good do document it in the
dud run
docstring, as proposed in this PR.