apache / apache/airflow

Add reload_on_trigger_change

Open
#22,789 2 comments 0 reactions 0 assignees View on GitHub
area:async-operators area:core kind:feature
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

### Description

Using the quickstart setup, for plugin changes there exists `reload_on_plugin_change = True` which when True causes the workers to restart on a change to the code in plugins.

For triggers there is no similar option and workers are not automatically restarted on a change to triggers in plugins.

### Use case/motivation

Add equivalent functionality for triggers to that which exists for plugins, where related workers are restarted so that trigger changes are picked up.

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Research direction

Start by locating the quickstart configuration and existing reload_on_plugin_change handling, then trace how worker restarts are triggered for plugin changes. Compare that path with trigger changes and identify the related workers that should restart. Done means trigger changes in plugins cause equivalent worker reload behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.