Commit 811fa2b
Replace
* Replace external_trigger check with DagRunType
- Fix test_handle_multiple_columns_unique_constraint_error
- Resolve ashb code review
- Add newsfragment
- Replace external_trigger is False logic with run_type is SCHEDULED
- Fix _emit_true_scheduling_delay_stats_for_finished_state
- Fix migrations fix after rebasing to latest main
Fix test_exceptions and static check after rebasing
Fix test_dag_run and erd static check
* fixup! Fix run_type logic, remove unused externally_triggered_type
* fixup! Restore external_trigger value when downgrade
* Remove externally_trigger reference in frontend
The 'triggered_by' field used to only be shown when the run is
externally triggered. Rather than using run_type to maintain the
conditional, I decided to render the field unconditionally instead,
since the value could be useful for scheduler-created runs too (for
example, distinguishing whether a run is asset-triggered or
time-scheduled).
* docs(newsfragments): add migration rules
---------
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>external_trigger check with DagRunType (#45961)1 parent 1abd637 commit 811fa2b
65 files changed
Lines changed: 1313 additions & 1357 deletions
File tree
- airflow
- api_connexion
- endpoints
- schemas
- api_fastapi
- core_api
- datamodels
- openapi
- routes/public
- execution_api
- datamodels
- routes
- api
- client
- common
- cli/commands/remote_commands
- example_dags/plugins
- jobs
- migrations/versions
- models
- ui
- openapi-gen/requests
- src/pages/Run
- utils
- www
- dev/perf
- docs/apache-airflow
- img
- newsfragments
- providers
- amazon/tests/unit/amazon/aws/hooks
- openlineage
- src/airflow/providers/openlineage
- facets
- utils
- tests/unit/openlineage
- plugins
- utils
- standard
- src/airflow/providers/standard/operators
- tests/unit/standard/operators
- task_sdk/src/airflow/sdk
- api/datamodels
- tests
- api_connexion
- endpoints
- schemas
- api_fastapi
- common
- core_api/routes/public
- execution_api/routes
- cli/commands/remote_commands
- core
- jobs
- models
- operators
- serialization
- utils
- www
- views
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
| |||
365 | 364 | | |
366 | 365 | | |
367 | 366 | | |
368 | | - | |
369 | 367 | | |
370 | 368 | | |
371 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8527 | 8527 | | |
8528 | 8528 | | |
8529 | 8529 | | |
8530 | | - | |
8531 | | - | |
8532 | | - | |
8533 | 8530 | | |
8534 | 8531 | | |
8535 | 8532 | | |
| |||
8554 | 8551 | | |
8555 | 8552 | | |
8556 | 8553 | | |
8557 | | - | |
8558 | 8554 | | |
8559 | 8555 | | |
8560 | 8556 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | 300 | | |
302 | 301 | | |
303 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | 289 | | |
291 | 290 | | |
292 | 291 | | |
| |||
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
370 | | - | |
371 | 369 | | |
372 | 370 | | |
373 | 371 | | |
| |||
421 | 419 | | |
422 | 420 | | |
423 | 421 | | |
424 | | - | |
425 | 422 | | |
426 | 423 | | |
427 | 424 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | 233 | | |
235 | 234 | | |
236 | 235 | | |
| |||
0 commit comments