-
Notifications
You must be signed in to change notification settings - Fork 64
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
Runnable Status is Ready even when stamped object has never been successful #486
Comments
Just to +1 this, this causes some unexpected behavior at the workload level too if a supplychain is stamping out a runnable because the workload will report that it is |
Just to clarify, the desired behaviour for the |
Current state of the code:
Based on the current behavior, Outputs should be read as "LatestSuccessfulOutputs" - |
We can absolutely implement @jwntrs spec, I'll use this policy:
Open questions about Runnable Status:
|
Additional:
|
Currently we assume it's a tekton TaskRun so we only concern ourselves with the "Succeeded" condition [finishes #486] Co-authored-by: Sam Coward <scoward@vmware.com>
Currently we assume it's a tekton TaskRun so we only concern ourselves with the "Succeeded" condition [finishes #486] Co-authored-by: Sam Coward <scoward@vmware.com>
Currently we assume it's a tekton TaskRun so we only concern ourselves with the "Succeeded" condition [finishes #486] Co-authored-by: Sam Coward <scoward@vmware.com>
…900) * Introduce a status that tracks the runnable's stamped object Currently we assume it's a tekton TaskRun so we only concern ourselves with the "Succeeded" condition [finishes #486] Co-authored-by: Sam Coward <scoward@vmware.com> * Pull "ExtractConditions" out as a utility Co-authored-by: Sam Coward <scoward@vmware.com>
…900) * Introduce a status that tracks the runnable's stamped object Currently we assume it's a tekton TaskRun so we only concern ourselves with the "Succeeded" condition [finishes #486] Co-authored-by: Sam Coward <scoward@vmware.com> * Pull "ExtractConditions" out as a utility Co-authored-by: Sam Coward <scoward@vmware.com>
Bug description:
When a Runnable is submitted, it will not display output until the created object has a condition
Ready
with a statusTrue
. But while waiting for a healthy child object, the Runnable itself will still have a statusReady
with statusTrue
.Steps to reproduce:
Submit these objects:
Expected behavior:
k get -o yaml runnable cm
returns a Runnable with condition
Ready
== FalseActual behavior:
k get -o yaml runnable cm
returns a Runnable with condition
Ready
== TrueAdditional context:
See branch
runnable-status-bug
for a test that exercises this.TODO
The text was updated successfully, but these errors were encountered: