-
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
Handle PipelineRun conversion when embedded-status
flag is set to "full" or "both"
#5813
Comments
(this shall be safe as both v1beta1 and v1 has ChildReferences)
|
Embedded-status:
v1beta1
v1
|
Embedded status:
Updates about the findings:
v1beta1
v1
|
V1 PR yaml:
|
Given that we're scheduled to flip the default from |
Even after we flip the default for the flag or remove the flag, there may still be Alternatively, we could do the same that we do for other removed fields, i.e. store them as annotations on |
embedded-status
flag when converting ChildReferences to TaskRuns
and Runs
statusembedded-status
flag is set to "full" or "both"
The reconciler logics need to be updated once swapping the storage version to v1 to make sure:
🙏 Thanks again for the guidance here from Andrea and Lee #5797 (comment) |
Discussed offline and many thanks to Andrew, Andrea, Dibyo and Xinru 🙏 . Currently the approach moving forward is to serialize the |
This issue aims point out the needs to handle PipelineRunStatus conversion when embedded-status flag is set to "full" or "both". It tracks the information loss depending on
embedded-status
flag when converting ChildReferences toTaskRuns
andRuns
status. Specifically in the case where:TaskRuns
/Runs
but withChildReferences
, converted to v1beta1ChildStatusReference
toTaskRuns
/Runs
, the information would get lostLocal tests results following the above procedures are provided to determine the behaviours of the conversion
This is to be done by the time we swap the storage version from
v1beta1
tov1
according to the findings at Handle PipelineRun conversion whenembedded-status
flag is set to "full" or "both" #5813 (comment)Come up with a decision to move forward
TaskRuns
andRuns
to the annotations when converting up to v1 and deserializing it when converting down.Add PipelineRunStatus Conversion #5797 (comment) needs to be resolved once the decision is made
Thanks to @lbernick spotting this at #5797 (comment), pointing out that without the reconciler logics processing the
embedded-status
flag.Thanks for the discussion cc @abayer @lbernick And also many thanks to @XinruZhang for the pointers at the storage version concerns and the reconciler logics on the findings!
The text was updated successfully, but these errors were encountered: