Skip to content

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

TypeScript

docs(#408): document generation requirement in waitForNetworkReady docstring

Alfredo Lopez2314f5db8721
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.json
index 747a67f9e..5eedd3a86 100644
--- a/workflow-recipes/package-lock.json
+++ b/workflow-recipes/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.295",
+ "version": "0.1.296",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "workload-recipes-controller",
- "version": "0.1.295",
+ "version": "0.1.296",
"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 c775934de..ae2ced0db 100644
--- a/workflow-recipes/package.json
+++ b/workflow-recipes/package.json
@@ -1,6 +1,6 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.295",
+ "version": "0.1.296",
"description": "Workload Recipes Controller (WRC) - WorkloadRecipe lifecycle management and MCP server interface",
"main": "dist/main.js",
"engines": {
diff --git a/workflow-recipes/src/reconciler/mcpDelegation.ts b/workflow-recipes/src/reconciler/mcpDelegation.ts
index df37c46ef..322c26a8d 100644
--- a/workflow-recipes/src/reconciler/mcpDelegation.ts
+++ b/workflow-recipes/src/reconciler/mcpDelegation.ts
@@ -908,6 +908,10 @@ export async function preDeployMcpServers(
* pre-deployed McpServer CRDs.
*
* Polls each McpServer CR until the annotation appears or timeout.
+ * The ack is honored only when HCC's stamped
+ * `clerum.io/network-ready-observed-generation` matches the current
+ * `metadata.generation` (Issue #408) — a stale ack from a prior generation
+ * does not satisfy the gate. A non-numeric generation is tolerated as fresh.
* Returns true if all are ready, false if timeout.
*/
export async function waitForNetworkReady(