Running PipelineRun fails to update when embedded-status
is modified
#5991
Labels
kind/bug
Categorizes issue or PR as related to a bug.
embedded-status
is modified
#5991
Expected Behavior
The process of the v1 migration should cause no existent PipelineRun to fail. And
PipelineRunStatus
can be used in bothFull
orMinimal
EmbeddedStatus
and also in the process of switching the default value at #5833 .Actual Behavior
It will fail validateChildObjectsInPipelineRunStatus as there are
status.runs
andstatus.taskruns
left along with ChildReferences while theEmbeddedStatus
has been changed fromFull
toMinimal
. And thus the PipelineRun will not succeed and runs indefinitely while the taskRunsSucceeded
.Steps to Reproduce the Problem
status.runs
orstatus.taskruns
started withFull
EmbeddedStatus
EmbeddedStatus
fromFull
toMinimal
while it's runningMinimal
toFull
The example pipelineRun is pasted below, but it could be any PipelineRun that stays longer than the time the
EmbeddedStatus
is switched.Additional Info
>= v0.43.2
PipelineRun yaml
PipelineRun described:
Expanded
The text was updated successfully, but these errors were encountered: