-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Publish Pipeline Results from successful TaskRuns in Failed PipelineRuns #5060
Publish Pipeline Results from successful TaskRuns in Failed PipelineRuns #5060
Conversation
|
Hi @QuanZhang-William. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this is solving the first problem only as discussed in the API WG on 06/27:
"Publishing PipelineResults from successful TaskRuns in Failed PipelineRuns"
@QuanZhang-William please update the commit and pull request description to make this clear
7190b15
to
688067f
Compare
/retest |
@QuanZhang-William: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
1 similar comment
@QuanZhang-William: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
688067f
to
7135f48
Compare
The following is the coverage report on the affected files.
|
/retest |
7135f48
to
d96d438
Compare
/retest |
The following is the coverage report on the affected files.
|
/retest |
The following is the coverage report on the affected files.
|
@QuanZhang-William thank you - we need the same information in the commit message too https://github.com/tektoncd/community/blob/main/standards.md#commits |
d96d438
to
532413e
Compare
Oops, updated commit message as well |
The following is the coverage report on the affected files.
|
532413e
to
57bdc64
Compare
The following is the coverage report on the affected files.
|
Prior to this change a failed PipelineRun does not emit any PipelineResult even when some PipelineTasks referenced by the PipelineResult succeeded. This commit changes to publish Pipeline Results only from successful PipelineTaskRuns in the failed PipelineRun Such Results are valid because they are generated by successful TaskRuns. They can provide more context and successful artifacts to users of the partially successful PipelinRun.
57bdc64
to
77ae014
Compare
/lgtm |
The following is the coverage report on the affected files.
|
/retest |
The following is the coverage report on the affected files.
|
I am very excited for this feature, thank you @QuanZhang-William for implementing this 🙏 @jerop, @lbernick please make sure to have the release notes updated for PRs implementing features. This is a direct user facing change, the users will start seeing pipelineResults even when their pipeline fails. @jerop please make sure to capture this in the |
I updated the comment in this PR description! |
Changes
Publish
Pipeline Results
from successfulTaskRuns
in FailedPipelineRuns
: #3749Prior to this change a failed
PipelineRun
does not emit anyPipelineResult
even when somePipelineTasks
referenced by thePipelineResult
succeeded. This commit changes to publishPipeline Results
only from successfulPipelineTaskRuns
in the failedPipelineRun
Such
Results
are valid because they are generated by successfulTaskRuns
. They can provide more context and successful artifacts to users of the partially successfulPipelinRun
./kind feature
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes