Dangerfile exits early if build failed#14400
Conversation
|
Does this mean if danger succeeds then you push an update and break the build, the old comment sticks around? |
I think the comment is only added/removed if output is logged. Given that we only log output if (a) the results JSON file is missing or (b) the size delta of a package is larger than some threshold– I think the danger comment will be added/updated/removed in the right cases. |
ee2c46c to
3d825ed
Compare
e584867 to
7af4549
Compare
|
Given the current changes, if a build fails in the scenario you describe, @sophiebits, this comment will replace the previous one: If I just I guess maybe the latter, since you'd get a failed CI build at that point. |
|
I think showing the message is preferable. It's harder to get misled that way. |
|
I think it's better for the danger comment to be removed if the build fails. I think the red CI ❌ is enough feedback for that case. Unless anyone objects, I think the behavior this PR currently exhibits is okay. |
|
ok, cool! |
|
No problem 😄 |
* Dangerfile exits early (without leaving an error comment) if build failed
* Dangerfile exits early (without leaving an error comment) if build failed


No description provided.