feat: triggers without automation + flyte.run(trigger) to fire on demand - #1535
Merged
Conversation
- Trigger.automation is optional; a trigger with no automation serializes as TYPE_NONE and is a named launch configuration fired only on demand. - flyte.run(trigger, **overrides) fires a deployed trigger as the trigger (CreateRunRequest.trigger_name) with its registered inputs, env vars, queue and notification rules; keyword args override individual inputs. - flyte create trigger no longer requires --schedule. - examples/triggers/manual.py and programmatic.py. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012RDaPuYm8oyFK8Ppuj874v Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
cosmicBboy
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Triggers no longer require an automation. A trigger without one is a named launch configuration (inputs, env vars, queue, notifications) that only fires on demand.
flyte.run(trigger, ...)fires any deployed trigger from Python, as the trigger, so the run carries its registered config and is recorded as trigger-fired.Also:
flyte create triggerno longer requires--schedule. Examples inexamples/triggers/manual.pyandexamples/triggers/programmatic.py.