pipeline icon indicating copy to clipboard operation
pipeline copied to clipboard

fix task results not replaced with their values in childReferences

Open chengjoey opened this issue 2 years ago • 9 comments

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

chengjoey avatar Feb 08 '23 16:02 chengjoey

/kind bug

chengjoey avatar Feb 08 '23 16:02 chengjoey

/hold

chengjoey avatar Feb 08 '23 16:02 chengjoey

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

tekton-robot avatar Feb 08 '23 16:02 tekton-robot

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

tekton-robot avatar Feb 08 '23 16:02 tekton-robot

/test tekton-pipeline-unit-tests

chengjoey avatar Feb 14 '23 07:02 chengjoey

/test pull-tekton-pipeline-alpha-integration-tests

chengjoey avatar Feb 14 '23 07:02 chengjoey

@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

chengjoey avatar Feb 14 '23 15:02 chengjoey

/hold cancel

chengjoey avatar Feb 15 '23 13:02 chengjoey

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

tekton-robot avatar Feb 15 '23 13:02 tekton-robot

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

tekton-robot avatar Feb 15 '23 13:02 tekton-robot

/assign

chitrangpatel avatar Mar 22 '23 17:03 chitrangpatel

[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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

tekton-robot avatar May 24 '23 08:05 tekton-robot

@chengjoey @Yongxuanzhang what's the status of this PR?

afrittoli avatar Jun 13 '23 11:06 afrittoli

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

tekton-robot avatar Jul 28 '23 03:07 tekton-robot

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

tekton-robot avatar Jul 28 '23 03:07 tekton-robot

/test pull-tekton-pipeline-beta-integration-tests

chengjoey avatar Jul 28 '23 05:07 chengjoey

/test pull-tekton-pipeline-alpha-integration-tests

chengjoey avatar Jul 28 '23 05:07 chengjoey

/test pull-tekton-pipeline-integration-tests

chengjoey avatar Jul 28 '23 05:07 chengjoey

/retest

jerop avatar Sep 07 '23 15:09 jerop

@chengjoey please rebase the PR 🙏🏾

/assign

jerop avatar Sep 20 '23 14:09 jerop