Skip to content

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

TypeScript

test(wrc): witness the terminating sibling by the retry reason

Alfredo Lopez169112f07d6c
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.json
index 8d402f7f7..f4f6e5a1f 100644
--- a/workflow-recipes/package-lock.json
+++ b/workflow-recipes/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.395",
+ "version": "0.1.396",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "workload-recipes-controller",
- "version": "0.1.395",
+ "version": "0.1.396",
"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 578fca25b..2a2ce7ca3 100644
--- a/workflow-recipes/package.json
+++ b/workflow-recipes/package.json
@@ -1,6 +1,6 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.395",
+ "version": "0.1.396",
"description": "Workload Recipes Controller (WRC) - WorkloadRecipe lifecycle management and MCP server interface",
"main": "dist/main.js",
"engines": {
diff --git a/workflow-recipes/tests/unit/workflow/workflowReconciler.test.ts b/workflow-recipes/tests/unit/workflow/workflowReconciler.test.ts
index c879f60d4..01bb64826 100644
--- a/workflow-recipes/tests/unit/workflow/workflowReconciler.test.ts
+++ b/workflow-recipes/tests/unit/workflow/workflowReconciler.test.ts
@@ -3605,7 +3605,8 @@ describe('WorkflowReconciler — reconcile loop', () => {
logs.entries.some(
entry =>
entry.level === 'warn' &&
- String(entry.msg).includes(`NetworkPolicy "${RUNNER}" is terminating`)
+ entry.reason === 'terminating' &&
+ String(entry.msg).includes(`NetworkPolicy "${RUNNER}"`)
)
).toBe(true)
expect(live.get(runnerKey)?.metadata?.annotations?.[CURRENT_CIDRS]).toBe(OLD_CIDR)