Skip to content

chore: remove deprecated LAMBDA from TaskType - #28

Open
nthmost-orkes wants to merge 1 commit into
mainfrom
chore/remove-lambda-tasktype
Open

chore: remove deprecated LAMBDA from TaskType#28
nthmost-orkes wants to merge 1 commit into
mainfrom
chore/remove-lambda-tasktype

Conversation

@nthmost-orkes

Copy link
Copy Markdown

Removes the deprecated LAMBDA value from TaskType — both the constant and its entry in ALL_TYPES (lib/conductor/workflow/task_type.rb). LAMBDA is deprecated in Conductor; new workflows should use INLINE.

Mirrors the Python SDK change in conductor-oss/python-sdk#500 (issue conductor-oss/python-sdk#427).

User impact: Ruby SDK users building workflows will no longer be offered TaskType::LAMBDA in autocomplete/validation, steering them toward the supported INLINE task type instead.

Why this is safe here (and why the typed SDKs are excluded)

The Conductor server still supports and emits LAMBDA — it's deprecated, not removed (the Lambda executor and TaskType.LAMBDA still exist server-side). This SDK's TaskType is a builder/validation convenience: a set of string constants plus an ALL_TYPES allow-list. It is not used to strictly deserialize workflow definitions into a typed enum, so removing the constant does not break reading existing workflows that contain LAMBDA tasks — it only removes the convenience for authoring new ones.

For contrast, the strongly-typed SDKs (Java, C#) are intentionally not getting this change: removing a deprecated value from a deserialization enum while the server still emits it would break reading legacy workflow defs.

Resolves #27

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TaskType.LAMBDA should be removed — LAMBDA task type is deprecated

1 participant