Repository navigation
Commit f1ca1d1
authored
Port
This is the last thing to remove the parallel execution path.
For simplicity, `ti.run` and `ti._run_raw_task` have been retained, but they now use the Task SDK execution path. They have been retained so we don't have to make big bang changes in tests and PR remains relatively review-able. There are opportunities for evaluating & cleanup after this PR is merged:
- `get_template_context`,
- `handle_failure`,
- `check_and_change_state_before_execution`
- and probably a lot more.
The following bugs/missing features were identified and implemented:
- Running `on_kill` on the Task SDK execution path
- Resolving lazy_object_proxies in the Context dict when running with a VirtualEnvOperator
- #50898ti.run to Task SDK execution path (#50141)1 parent e471a3a commit f1ca1d1
28 files changed
Lines changed: 317 additions & 2677 deletions
File tree
- airflow-core
- src/airflow
- cli/commands
- models
- tests/unit
- api_fastapi/execution_api
- versions/head
- listeners
- models
- ti_deps/deps
- utils
- devel-common/src/tests_common/test_utils
- providers
- cncf/kubernetes/tests/unit/cncf/kubernetes/log_handlers
- common/sql/tests/unit/common/sql/operators
- microsoft/azure/tests/unit/microsoft/azure/operators
- oracle/tests/unit/oracle/operators
- snowflake/tests/unit/snowflake/decorators
- standard
- src/airflow/providers/standard/operators
- tests/unit/standard
- decorators
- operators
- task-sdk/src/airflow/sdk
- definitions
- execution_time
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
38 | 64 | | |
| 65 | + | |
39 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
1084 | 1083 | | |
1085 | 1084 | | |
1086 | 1085 | | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | 1086 | | |
1093 | | - | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
1094 | 1090 | | |
1095 | | - | |
| 1091 | + | |
1096 | 1092 | | |
1097 | 1093 | | |
1098 | | - | |
| 1094 | + | |
1099 | 1095 | | |
1100 | 1096 | | |
1101 | | - | |
1102 | | - | |
| 1097 | + | |
1103 | 1098 | | |
1104 | 1099 | | |
1105 | 1100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 128 | + | |
| 129 | + | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | | - | |
| 141 | + | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| |||
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
156 | | - | |
| 155 | + | |
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
| |||
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 168 | | |
173 | 169 | | |
174 | | - | |
175 | | - | |
| 170 | + | |
176 | 171 | | |
177 | 172 | | |
178 | 173 | | |
| |||
181 | 176 | | |
182 | 177 | | |
183 | 178 | | |
184 | | - | |
| 179 | + | |
185 | 180 | | |
186 | 181 | | |
187 | | - | |
188 | 182 | | |
189 | 183 | | |
190 | 184 | | |
| |||
0 commit comments