pipeline
pipeline copied to clipboard
fix task results not replaced with their values in childReferences
Changes
fix #6093
apply completed or skipped task result before GetChildReferences
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
- [ ] Has Docs included if any changes are user facing
- [ ] Has Tests included if any functionality added or changed
- [x] Follows the commit message standard
- [x] Meets the Tekton contributor standards (including functionality, content, code)
- [x] Has a kind label. You can add one by adding a comment on this PR that contains
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep - [ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
- [ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release
Release Notes
NONE
/kind bug
/hold
The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/reconciler/pipelinerun/pipelinerun.go | 87.2% | 87.3% | 0.1 |
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go | 96.4% | 94.5% | -1.9 |
The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/reconciler/pipelinerun/pipelinerun.go | 87.2% | 87.3% | 0.1 |
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go | 96.4% | 94.5% | -1.9 |
/test tekton-pipeline-unit-tests
/test pull-tekton-pipeline-alpha-integration-tests
@chengjoey please add tests for the changes in this pull request 🙏🏾
I use hold
to stop the merge because I put the function in ReconcileKind
, which makes the function difficult to test. I will extract this part of the code into a function for easy testing. After adding tests, I will /hold cancel
/hold cancel
The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go | 97.7% | 97.8% | 0.0 |
The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go | 97.7% | 97.8% | 0.0 |
/assign
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: vdemeester
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [vdemeester]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
@chengjoey @Yongxuanzhang what's the status of this PR?
The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go | 99.5% | 99.5% | 0.0 |
The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/reconciler/pipelinerun/resources/pipelinerunstate.go | 99.5% | 99.5% | 0.0 |
/test pull-tekton-pipeline-beta-integration-tests
/test pull-tekton-pipeline-alpha-integration-tests
/test pull-tekton-pipeline-integration-tests
/retest
@chengjoey please rebase the PR 🙏🏾
/assign