Repository navigation
Commit 90bb554
committed
fixup! Read current task executions by exact region and try
The task instance clear endpoint now takes its run locks through the shared
helper, so the clears it calls do not lock the same runs again. It keeps
reloading the locked runs, since the run state it acts on may have changed
while it waited for the lock. The conversion lives here rather than in the
clear layer because this layer rewrote the endpoint's imports.
Reading a loop task's execution without its pass must answer the same 400 as
marking it, whether or not a region id is given; until the read routes took
region coordinates there was no read to pin this on.1 parent f3ab4ee commit 90bb554
2 files changed
Lines changed: 17 additions & 8 deletions
File tree
- airflow-core
- src/airflow/api_fastapi/core_api/routes/public
- tests/unit/api_fastapi/core_api/routes/public
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
1148 | 1149 | | |
1149 | 1150 | | |
1150 | 1151 | | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
| 1152 | + | |
1158 | 1153 | | |
1159 | 1154 | | |
1160 | 1155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5795 | 5795 | | |
5796 | 5796 | | |
5797 | 5797 | | |
| 5798 | + | |
| 5799 | + | |
| 5800 | + | |
| 5801 | + | |
| 5802 | + | |
| 5803 | + | |
| 5804 | + | |
| 5805 | + | |
| 5806 | + | |
| 5807 | + | |
| 5808 | + | |
| 5809 | + | |
| 5810 | + | |
| 5811 | + | |
5798 | 5812 | | |
5799 | 5813 | | |
5800 | 5814 | | |
| |||
0 commit comments