<#1307 docs(hitl): add deprecation notice pointing...
# flyte-github
a
#1307 docs(hitl): add deprecation notice pointing to flyte-native conditions Pull request opened by cosmicBboy Summary Adds a deprecation warning banner to `plugins/hitl/README.md`: the
flyteplugins-hitl
event API is superseded by flyte-native conditions (
flyte.new_condition
), which are built into the SDK and require no extra dependency, no
depends_on=[hitl.env]
app infrastructure, and no web-form serving. The banner includes: • A one-to-one migration snippet (
hitl.new_event
→
flyte.new_condition
). The plugin's
scope="run"
argument has no
new_condition
equivalent since conditions are inherently run-scoped, so it's simply dropped. • The three ways to signal a condition: the Flyte UI, the CLI (
flyte signal condition <run> <action> <value>
), and
flyte.remote.Condition.signal
. • A pointer to
examples/advanced/conditions.py
for markdown prompts, timeouts, webhook notifications, and programmatic signaling. Follow-up to #1306, which migrated the
flyte.ai.agents
HITL approval flow off this plugin. Test plan • Docs-only change; verified the
> [!WARNING]
admonition renders as GitHub-flavored markdown. 🤖 Generated with Claude Code flyteorg/flyte-sdk