Skip to content

Blocking modify workflow when not notes #52279

Open
@nesp159de

Description

@nesp159de

Description

Our Airflow operators require the following functionality:

A valid note (i.e., a non-empty string) must be entered whenever any modification action related to a task instance or DAG run is performed.

If the note is missing, an error should be displayed. For example:
You are not allowed to modify the current dag run without entering a reason in the notes.

This feature should be disabled by default and configurable in airflow configuration file.

This feature is needed because several operators operate one airflow instance and admins want to know the reason of all modification including its history in audit log.

Use case/motivation

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions