Consider changing API to not use regexp pattern #32360
Labels
airflow3.0:breaking
Candidates for Airflow 3.0 that contain breaking changes
airflow3.0:candidate
Potential candidates for Airflow 3.0
area:API
Airflow's REST/HTTP API
kind:meta
High-level information important to the community
Milestone
Body
Our public REST API specification has the possibility of using regexp pattern (dag_id_pattern). This is potentially dangerous as free regexp patterns might have potentially some problems (like infinite recursion or non-linear performance of some patterns) and regexp parsing libraries might have unknown bugs, We should consider making a backwards-incompatible release of the API with the pattern feature removed.
This wouls be a breaking change, and breaking the promise we made to keep our Stable REST API the most stable part of the Public Airflow Interface that we promised our users to rely on, so should carefully consider if removing it is worth breaking the promise. It would also require strong justification and unsolvable security/performance issue to make such change without bumping the REST API version to new MAJOR version and it would disconnect Airflow MAJOR version from the API MAJOR version, so likely the only good time we can do it, is when we release Airflow 3.
Committer
The text was updated successfully, but these errors were encountered: