-
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
Switch the default for "embedded-status" feature flag to "minimal" on or after Jan 25, 2023 #5833
Comments
Thanks Andrew for creating this issue. Marking
/assign |
related to #4954 |
Based on this section of TEP-0033 I agree that we should wait until Jan 23 to change the default value of the flag.
This should be fixed now by #5610. Do you know of any other issues that might be caused by keeping these fields around? If not, I think we should remove them. If so, probably OK to keep as read only, but I'd prefer removing them as we don't really have a mechanism for enforcing read-only (other than reviewer discipline) which I'd be concerned can lead to bugs. |
The most obvious case is in-flight And re: "enforcing read-only"...well, we only write to those fields in code that is only reached when |
This seems avoidable by removing them at least one release after removing the flag. I guess many people don't upgrade one release at a time, but this could be mitigated by release notes?
Are there any issues you can link to, or can you be more specific about what issues you're concerned about?
fair enough, this would probably be fine |
|
The deprecations list entry for
PipelineRun.Status.TaskRuns
andPipelineRun.Status.Runs
has Jan 25, 2023 as the earliest date for removing those fields. I'd like to propose that we switch the default tominimal
on Jan 25, 2023, and do the actual removal later.Technically, we could switch the default now and actually remove
PipelineRun.Status.TaskRuns
,PipelineRun.Status.Runs
, and theembedded-status
flag (more specifically, thefull
andboth
options for the flag) on or after Jan 25, 2023, without violating the deprecation/removal policy, but I feel like changing the default tominimal
only on/after the deprecation/removal date is more in the spirit of the policy.Additionally, when we remove the
full
andboth
options, we may went to keep thePipelineRun.Status
fields inv1beta1
for the rest ofv1beta1
s lifetime - once we remove thefull
/both
options, those fields will no longer get written to by newPipelineRun
s, and we can remove all of the internal code from the reconciler for handling thePipelineRun.Status
fields, but anyPipelineRun
created before the switch tominimal
by default or before the removal offull
/both
where someone manually setsembedded-status
to one of those values which still exists in etcd would run into problems when, for example, getting deleted (based on past experiences I've had with fields I deleted). It feels like it'll make the most sense to just make those fields read-only and never actually remove them.Thoughts, @tektoncd/core-maintainers, @JeromeJu?
The text was updated successfully, but these errors were encountered: