Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

docs(workflow-recipes): describe the apply-only run-lane retry in its wrapper

Alfredo Lopez2bffbb507e9b
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.json
index 6bf88c884..4879654b5 100644
--- a/workflow-recipes/package-lock.json
+++ b/workflow-recipes/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.421",
+ "version": "0.1.422",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "workload-recipes-controller",
- "version": "0.1.421",
+ "version": "0.1.422",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@aws-sdk/client-s3": "^3.1009.0",
diff --git a/workflow-recipes/package.json b/workflow-recipes/package.json
index 91692b8d0..693850e56 100644
--- a/workflow-recipes/package.json
+++ b/workflow-recipes/package.json
@@ -1,6 +1,6 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.421",
+ "version": "0.1.422",
"description": "Workload Recipes Controller (WRC) - WorkloadRecipe lifecycle management and MCP server interface",
"main": "dist/main.js",
"engines": {
diff --git a/workflow-recipes/src/reconciler/workflowRecipeReconciler.ts b/workflow-recipes/src/reconciler/workflowRecipeReconciler.ts
index e99e34ad3..554bd7755 100644
--- a/workflow-recipes/src/reconciler/workflowRecipeReconciler.ts
+++ b/workflow-recipes/src/reconciler/workflowRecipeReconciler.ts
@@ -1474,11 +1474,12 @@ export class WorkflowRecipeReconciler {
* Applies the run-lane NetworkPolicies again from a short-circuit when the
* published status carries the retry marker. Those short-circuits never
* reach `WorkflowReconciler.reconcile()`, so without this a policy left
- * pending a retry would stay unapplied until the run ends. The retry
- * re-prunes as well, with a verdict computed for this pass: a prune that
- * failed is what set the marker, so an apply-only retry could never clear it.
- * The Codex and Grok proxy policies are never revoked by this retry, since
- * a run may be using them; the first reconcile() after the run prunes them.
+ * pending a retry would stay unapplied until the run ends. The retry only
+ * applies the desired policies, with a verdict computed for this pass; it
+ * prunes no run-lane policy, because the run's pods may still use any lane.
+ * A marker set by a failed reconcile() prune clears here once the applies
+ * converge, and the leftover waits for the next reconcile() pass or the
+ * finalizer sweep (see `WorkflowReconciler.retryRunLaneNetworkPolicies`).
*
* Returns the requeue delay the short-circuit must add: the progress base
* while a policy is still pending, the transient base when the apply threw