From c64791a8865e6b4e3700900c0f5bfe9e030096d9 Mon Sep 17 00:00:00 2001 From: nthmost-orkes Date: Tue, 25 Aug 2026 12:49:49 -0700 Subject: [PATCH] chore: remove deprecated LAMBDA from TaskType MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LAMBDA is deprecated in Conductor (use INLINE instead). Remove it from the TaskType constants and the ALL_TYPES allow-list. The server still supports LAMBDA, but this SDK's TaskType is a builder/validation convenience — not a strict deserialization enum — so removal only steers users off building new LAMBDA tasks and does not affect reading existing workflows. Resolves #27 --- lib/conductor/workflow/task_type.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/conductor/workflow/task_type.rb b/lib/conductor/workflow/task_type.rb index 8df5505..d4ec07d 100644 --- a/lib/conductor/workflow/task_type.rb +++ b/lib/conductor/workflow/task_type.rb @@ -22,7 +22,6 @@ module TaskType USER_DEFINED = 'USER_DEFINED' HTTP = 'HTTP' HTTP_POLL = 'HTTP_POLL' - LAMBDA = 'LAMBDA' INLINE = 'INLINE' EXCLUSIVE_JOIN = 'EXCLUSIVE_JOIN' TERMINATE = 'TERMINATE' @@ -49,7 +48,7 @@ module TaskType ALL_TYPES = [ SIMPLE, DYNAMIC, FORK_JOIN, FORK_JOIN_DYNAMIC, DECISION, SWITCH, JOIN, DO_WHILE, SUB_WORKFLOW, START_WORKFLOW, EVENT, WAIT, WAIT_FOR_WEBHOOK, - HUMAN, USER_DEFINED, HTTP, HTTP_POLL, LAMBDA, INLINE, EXCLUSIVE_JOIN, + HUMAN, USER_DEFINED, HTTP, HTTP_POLL, INLINE, EXCLUSIVE_JOIN, TERMINATE, KAFKA_PUBLISH, JSON_JQ_TRANSFORM, SET_VARIABLE, GET_DOCUMENT, LLM_GENERATE_EMBEDDINGS, LLM_GET_EMBEDDINGS, LLM_TEXT_COMPLETE, LLM_CHAT_COMPLETE, LLM_INDEX_TEXT, LLM_SEARCH_INDEX, GENERATE_IMAGE,