Skip to content

fix: show pipeline as skipped if all target are skipped#2849

Merged
olblak merged 9 commits intoupdatecli:mainfrom
olblak:fix/pipelineskipped
Oct 22, 2024
Merged

fix: show pipeline as skipped if all target are skipped#2849
olblak merged 9 commits intoupdatecli:mainfrom
olblak:fix/pipelineskipped

Conversation

@olblak
Copy link
Copy Markdown
Member

@olblak olblak commented Oct 19, 2024

This pullrequest fix a regression introduced in #2800
Where a pipeline would be displayed as succeeded if all targets are skipped.

Test

To test this pull request, you can run the following commands:

cd <to_package_directory>
go test

Additional Information

Tradeoff

Potential improvement

We could apply the same logic if all conditions are skipped or all sources are skipped

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added the core All things related to Updatecli core engine label Oct 19, 2024
@olblak olblak added this to the 0.86.0 milestone Oct 19, 2024
loispostula
loispostula previously approved these changes Oct 20, 2024
@olblak olblak added the bug Something isn't working label Oct 21, 2024
@olblak
Copy link
Copy Markdown
Member Author

olblak commented Oct 21, 2024

Thanks, @loispostula, for adding some tests on this area, It seems like I broke them :D

@loispostula
Copy link
Copy Markdown
Contributor

Tests are always good, but maybe the tests are broken

@olblak
Copy link
Copy Markdown
Member Author

olblak commented Oct 21, 2024

In this case tests were good :)

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak enabled auto-merge (squash) October 22, 2024 12:37
@olblak olblak merged commit 54b8ba2 into updatecli:main Oct 22, 2024
@olblak olblak deleted the fix/pipelineskipped branch October 22, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core All things related to Updatecli core engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants