Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(workflow-recipes): use a safe credential fixture and drop a redundant spread guard
Jose Gabriel Ramirez Encinas5bf413035a4f
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.jsonindex 355fe9057..5ad6ef60d 100644--- a/workflow-recipes/package-lock.json+++ b/workflow-recipes/package-lock.json@@ -1,12 +1,12 @@{"name": "workload-recipes-controller",- "version": "0.1.362",+ "version": "0.1.363","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "workload-recipes-controller",- "version": "0.1.362",+ "version": "0.1.363","license": "SEE LICENSE IN LICENSE","dependencies": {"@aws-sdk/client-s3": "^3.1009.0",diff --git a/workflow-recipes/package.json b/workflow-recipes/package.jsonindex 1377fd623..cc02b5d18 100644--- a/workflow-recipes/package.json+++ b/workflow-recipes/package.json@@ -1,6 +1,6 @@{"name": "workload-recipes-controller",- "version": "0.1.362",+ "version": "0.1.363","description": "Workload Recipes Controller (WRC) - WorkloadRecipe lifecycle management and MCP server interface","main": "dist/main.js","engines": {diff --git a/workflow-recipes/src/workflow/restEndpoints.ts b/workflow-recipes/src/workflow/restEndpoints.tsindex 75da33e6f..b9e12254d 100644--- a/workflow-recipes/src/workflow/restEndpoints.ts+++ b/workflow-recipes/src/workflow/restEndpoints.ts@@ -903,7 +903,7 @@ export function createWorkflowEndpointHandlers(const stepEntry = {phase: body.phase,- ...(outputPreview && outputPreview),+ ...outputPreview,...(resolvedError && { error: resolvedError }),...(body.executor && { executor: body.executor }),...(body.startedAt && { startedAt: body.startedAt }),diff --git a/workflow-recipes/tests/unit/workflow/modelConfigHandler.test.ts b/workflow-recipes/tests/unit/workflow/modelConfigHandler.test.tsindex 3a3bfa302..3838ea5ff 100644--- a/workflow-recipes/tests/unit/workflow/modelConfigHandler.test.ts+++ b/workflow-recipes/tests/unit/workflow/modelConfigHandler.test.ts@@ -918,7 +918,7 @@ describe('POST /configure-model — Grok grantRedeemable uses the Grok projectioit('skips a Grok fallback whose assigned grant is not eligible', async () => {const mapping = { openai: 'openai-secret/apiKey', 'grok-subscription': 'grok-secret/key' }- const secret = { apiKey: 'sk-test-123', key: 'unused' }+ const secret = { apiKey: 'sk-test-token', key: 'unused-dummy' }const allowlist = { ...GROK_ALLOWLIST, openai: JSON.stringify([{ model: 'gpt-4' }]) }const run = async (annotations: Record<string, string>, grokSubscriptionEnabled = true) => {const mcpHost = mockMcpHost()