Detect when bundle methods called before `initialize`?
- Dominant language
- Python
- Stars
- 46.9k
- Forks
- 17.8k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 483
Description
### Body
#46355 has highlighted the fact that we don't check if `initialize` has been called before other methods that rely on it have been. For example, `get_current_version`. I'm not positive we should check that, but opening this issue so I can think it through later.
### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Contributor guide
Research direction
Start by reading issue #46355 and tracing the bundle methods mentioned here, especially get_current_version, to understand the initialization assumptions. Decide whether calls before initialize should be detected, define the expected behavior, and identify tests that would establish the behavior once the scope is agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100