Skip to content

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

TypeScript

test(workflow-recipes): retitle the not-cached token ADDED test (nit-2)

Alfredo Lopezfceef65f7253
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.json
index f5755457a..90123199f 100644
--- a/workflow-recipes/package-lock.json
+++ b/workflow-recipes/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.450",
+ "version": "0.1.451",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "workload-recipes-controller",
- "version": "0.1.450",
+ "version": "0.1.451",
"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 6196be30e..7ba8666df 100644
--- a/workflow-recipes/package.json
+++ b/workflow-recipes/package.json
@@ -1,6 +1,6 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.450",
+ "version": "0.1.451",
"description": "Workload Recipes Controller (WRC) - WorkloadRecipe lifecycle management and MCP server interface",
"main": "dist/main.js",
"engines": {
diff --git a/workflow-recipes/src/k8sClient.test.ts b/workflow-recipes/src/k8sClient.test.ts
index 71028f7b2..4c54ce30c 100644
--- a/workflow-recipes/src/k8sClient.test.ts
+++ b/workflow-recipes/src/k8sClient.test.ts
@@ -3341,7 +3341,10 @@ describe('handleOAuthBrokerTokenAdded', () => {
expect(enqueue).not.toHaveBeenCalled()
})
- it('only re-arms the ledger for a recipe not yet cached: its own queued event reaps', () => {
+ it('re-arms the ledger and enqueues nothing for a recipe not yet cached', () => {
+ // The recipe's own ADDED event is queued already; that its pass then
+ // reaps the re-armed token is pinned in reconciler.test.ts by the B3
+ // ledger test "deletes the Secret again after ADDED invalidation".
const { internal, invalidate, enqueue } = setup()
internal.handleOAuthBrokerTokenAdded(internal.config.sandboxNamespace, 'not-cached')
// Liveness witness: the handler ran and armed the ledger for that recipe.