apache / apache/airflow

Remove ui_color/ui_fgcolor from SerializedBaseOperator

Open
#60,465 0 comments 0 reactions 0 assignees View on GitHub
area:serialization
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

Split from PR #60435.

`airflow-core/src/airflow/serialization/definitions/baseoperator.py` has TODO: "Remove the following, they aren't used anymore" for `ui_color`/`ui_fgcolor`.

Decide on removing these fields from the serialized model and schema, and verify no downstream consumers depend on them.

Contributor guide

Open the contributing guide

Research direction

Start in airflow-core/src/airflow/serialization/definitions/baseoperator.py and inspect the TODO for ui_color and ui_fgcolor. Trace the serialized model and schema references, then check whether downstream consumers still depend on these fields. Done means removing them only where safe and verifying that no downstream consumer relies on them.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.