#1223 Forward condition timeout, prompt_type, and webhook to ConditionAction proto
Pull request opened by
SVilgelm
Conditions (flyte.wait / new_condition(...)) capture and validate timeout, prompt_type, and webhook, but Action.from_condition dropped all three — they were never written onto the ConditionAction protobuf, so the backend never received them. The proto already has the fields; this wires them through from register_condition.
• timeout → ConditionAction.timeout (Duration, fractional seconds preserved; unset when None/0)
• prompt_type → ConditionAction.prompt_type (ConditionPromptType enum; "text"/"markdown")
• webhook → ConditionAction.webhook (url + payload Struct; unset when no url)
Added unit tests for from_condition covering each field and the unset cases, plus strengthened the register_condition timeout/webhook tests to assert the values reach the proto.
Linear:
https://linear.app/unionai/issue/ENG26-728/be-add-timeout-details-to-watchactiondetails
flyteorg/flyte-sdk