Skip to content
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

TEP-0090: Matrix - Minimal Status is Required #736

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

jerop
Copy link
Member

@jerop jerop commented Jun 22, 2022

Prior to this change, we had agreed that the minimal status would
be auto-added for PipelineTasks which have a Matrix. During the
implementation, realized that it's unclear how we should handle
the other PipelineTasks in the Pipeline that don't have a Matrix.
Also realized that the automagic is opaque to users and could be
surprising to users who're not aware of the ChildReferences.

In this change, we propose that users have to enable the minimal
status to use Matrix. This is not a restrictive requirement as is
the direction we're moving to, and will become the default soon.
More importantly, it makes the behavior clear and the improves the
user experience.

/kind tep

cc @abayer

Prior to this change, we had agreed that the minimal status would
be auto-added for PipelineTasks which have a Matrix. During the
implementation, realized that it's unclear how we should handle
the other PipelineTasks in the Pipeline that don't have a Matrix.
Also realized that the automagic is opaque to users and could be
surprising to users who're not aware of the ChildReferences.

In this change, we propose that users have to enable the minimal
status to use Matrix. This is not a restrictive requirement as is
the direction we're moving to, and will become the default soon.
More importantly, it makes the behavior clear and the improves the
user experience.
@tekton-robot tekton-robot added the kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). label Jun 22, 2022
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 22, 2022
@jerop
Copy link
Member Author

jerop commented Jun 22, 2022

related PR: #725

Copy link
Member

@dibyom dibyom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 22, 2022
@jerop
Copy link
Member Author

jerop commented Jun 22, 2022

/assign @dibyom
/assign @abayer

@abayer
Copy link
Contributor

abayer commented Jun 22, 2022

/approve

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abayer, dibyom, 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

@jerop
Copy link
Member Author

jerop commented Jun 23, 2022

/assign @vdemeester

@jerop
Copy link
Member Author

jerop commented Jun 23, 2022

@abayer @dibyom @vdemeester can we please merge this offline?

@dibyom
Copy link
Member

dibyom commented Jun 23, 2022

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2022
@tekton-robot tekton-robot merged commit 8541402 into tektoncd:main Jun 23, 2022
jerop added a commit to jerop/pipeline that referenced this pull request Jun 24, 2022
In tektoncd/community#736, we decided that
`Matrix` will use `ChildReferences` only. Therefore, it is unnecessary
to check the `TaskRuns` field of `PipelineRun` status when getting the
names of `TaskRuns` for matrixed `PipelineTasks`.

Related PR: tektoncd#5019
jerop added a commit to jerop/pipeline that referenced this pull request Jun 24, 2022
In tektoncd/community#736, we decided that
`Matrix` will use `ChildReferences` only. Therefore, it is unnecessary
to check the `TaskRuns` field of `PipelineRun` status when getting the
names of `TaskRuns` for matrixed `PipelineTasks`.

Related PR: tektoncd#5019
tekton-robot pushed a commit to tektoncd/pipeline that referenced this pull request Jun 24, 2022
In tektoncd/community#736, we decided that
`Matrix` will use `ChildReferences` only. Therefore, it is unnecessary
to check the `TaskRuns` field of `PipelineRun` status when getting the
names of `TaskRuns` for matrixed `PipelineTasks`.

Related PR: #5019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
Status: UnAssigned
Development

Successfully merging this pull request may close these issues.

5 participants