Skip to content

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

TypeScript

test: expect mcp-host token-generation annotation on scope remint

Alfredo Lopezcb697d6c271e
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.json
index ddfd28782..75bbafc0f 100644
--- a/workflow-recipes/package-lock.json
+++ b/workflow-recipes/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.325",
+ "version": "0.1.326",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "workload-recipes-controller",
- "version": "0.1.325",
+ "version": "0.1.326",
"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 848dd4038..7decfa20a 100644
--- a/workflow-recipes/package.json
+++ b/workflow-recipes/package.json
@@ -1,6 +1,6 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.325",
+ "version": "0.1.326",
"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 d6a98e3a7..09cd1bc53 100644
--- a/workflow-recipes/tests/unit/workflow/workflowReconciler.test.ts
+++ b/workflow-recipes/tests/unit/workflow/workflowReconciler.test.ts
@@ -5056,7 +5056,7 @@ describe('WorkflowReconciler — reconcile loop', () => {
expect.objectContaining({
name: 'wf-child-run-mcp-host-runtime-tokens',
namespace: 'sandbox-recipes',
- body: {
+ body: expect.objectContaining({
data: {
'mcp-host-runtime-access-token': Buffer.from('mcp-host-runtime-access-token').toString(
'base64'
@@ -5069,7 +5069,12 @@ describe('WorkflowReconciler — reconcile loop', () => {
).toString('base64'),
'mcp-host-gfs-token': Buffer.from('gfs-runtime-value').toString('base64'),
},
- },
+ metadata: expect.objectContaining({
+ annotations: expect.objectContaining({
+ 'clerum.io/mcp-host-runtime-token-generation': '1',
+ }),
+ }),
+ }),
}),
expect.any(Object)
)
@@ -5287,13 +5292,18 @@ describe('WorkflowReconciler — reconcile loop', () => {
expect.objectContaining({
name: 'wf-test-wf-mcp-host-runtime-tokens',
namespace: 'sandbox-recipes',
- body: {
+ body: expect.objectContaining({
data: {
'mcp-host-workflow-control-token': Buffer.from(
'mcp-host-workflow-control-token'
).toString('base64'),
},
- },
+ metadata: expect.objectContaining({
+ annotations: expect.objectContaining({
+ 'clerum.io/mcp-host-runtime-token-generation': '1',
+ }),
+ }),
+ }),
}),
expect.any(Object)
)