-
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
refactor pipelineRunState and pipelinerunresolution.go #2852
Comments
/kind cleanup |
pipelineRunState
and pipelinerunresolution.go
|
In #2821
|
Added dropping named return value in the list 🆙 from discussion: |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. 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. |
/remove-lifecycle rotten |
@vdemeester: Reopened this issue. 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. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. 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. |
With the
finally
implementation PR #2661, we have been identifying various areas where the code can be simplified (based on changes being proposed in PR #2821). This involves mainly two areas:taskRuns
can be created.GetPipelineConditionStatus
so that the tasks execution status is not calculated from scratch on every call.In this issue, I am maintaining a list of changes requested in PR #2661. Its very hard for authors (and reviewers) to implement new feature along with refactor/simplify existing code in single PR:
isFinalTasksDone
,isDAGTasksStopped
andisDAGTasksDone
into one function, checkTasksDone.state.isPipelineTaskinDag
as attribute topipelineRunState
and/ortask.InDag()
as attribute toResolvedPipelineRunTask
.pipelineState.IsDone
, see comment.The text was updated successfully, but these errors were encountered: