Skip to content

Propagate Trigger descriptions from prefect yaml #16655

Open
@masonmenges

Description

Describe the current behavior

Current when defining a trigger via prefect yaml for a particular deployment the description for the trigger isn't passed to the created automation

For example This trigger definition creates an automation with the name "testing_trigger_description" but passing a description to the trigger still results in None being displayed for the automation triggers description

triggers:
    - type: event
      name: testing_trigger_description
      description: "some description"
      enabled: true
      match:
        prefect.resource.id: prefect.flow_run.*
      expect:
        - prefect.flow_run.Completed

Resulting Automation in the UI:

Screenshot 2025-01-08 at 3 41 00 PM

Describe the proposed behavior

Descriptions passed to a trigger definition via prefect yaml should be reflected in the description for the resulting automation trigger that gets created.

Example Use

No response

Additional context

No response

Metadata

Assignees

Labels

enhancementAn improvement of an existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions