v1 server and lifecycle manager working. execution contract added

This commit is contained in:
Lyncoln
2026-10-08 09:31:29 -04:00
commit f4742f00e0
108 changed files with 750 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
def skipStep(definition, action, outputs):
try:
if action in definition.skipstep:
condition = definition.skipstep[action]
current_value = outputs[condition["output"]]
if condition["operator"] == ">=":
if current_value >= condition["value"]:
print(f"Skipping {action.name}")
return True
except TypeError, KeyError:
return False