-
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
[TEP074] Tombstone ResourceResult field with the removal of PipelineResources #6301
Conversation
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
84bd64d
to
205e81b
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
This makes sense since we don't have To be on the safe side, we could mark it as deprecated in the code, and remove it in the following release? |
Based on past cases where we’ve removed fields in the status and the pain that’s caused with downstream consumers of the status structs, I’d be conservative with the removal. |
Thanks @abayer , I agree with the cautions that we need to take when dealing with api fields. But when I tried removing |
Appreciate the help @afrittoli , I also added the reasons why this was attempted to be removed: (also in the PR comment)
|
205e81b
to
903a4eb
Compare
The following is the coverage report on the affected files.
|
07ce0e0
to
b8a59ef
Compare
/unhold |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
b8a59ef
to
e637c7c
Compare
The ResourcesResult field of TaskRun is tombstoned along with the migration of PipelineResources and is kept only for backward compatibility.
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
e637c7c
to
1d73a55
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
@JeromeJu I don't think this needs an action-required release note since there is nothing actionable for the Tekton user. This is an internal cleanup part of the pipeline resources removal, and pipeline resources have already been removed. |
Thanks Dibyo, I agree with that the TaskRunStatus could not be specified, so this is just not populating the field. Removed the release notes. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lbernick, 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 |
/lgtm |
Changes
This commit tombstones the
resourcesResult
field of TaskRun along with the removal ofpipelineResources
.It aims to cleanup
pkg/pod/status
as the prerequisites swapping to v1 as storage version.It is tombstoned due to following reasons:
ResourceResult
, according its description, was 'Results from Resources built during the TaskRun. currently includes the digest of build container images', now since image resources are removed, it was left meaningless.ResourceResult
highly relies on PipelineResourcesResult type, where previously PipelineResourceResult is being written to it, now that PipelineResources is being removed, there is no usage for resourcesResultResourceResult
has not been moved to v1, when we swap the storage versions, there will not be a suitable place to write toPipelineResourceResult
any moreThe migration of PipelineResourceResult is broken down into:
PipelineResourceResultType
ofPipelineResourceResult
Struct ([TEP074] Remove PipelineResourceResultType of PipelineResourceResult Struct #6198)resourcesResult
([TEP074] Tombstone ResourceResult field with the removal of PipelineResources #6301)/kind misc
part of #6197
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes