dependabot[bot] opened a new pull request, #46769: URL: https://github.com/apache/airflow/pull/46769
Bumps [apache-airflow](https://github.com/apache/airflow) from 2.10.4 to 2.10.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/airflow/releases">apache-airflow's releases</a>.</em></p> <blockquote> <h2>Apache Airflow 2.10.5</h2> <h1>Significant Changes</h1> <h2>Ensure teardown tasks are executed when DAG run is set to failed (<a href="https://redirect.github.com/apache/airflow/issues/45530">#45530</a>)</h2> <p>Previously when a DAG run was manually set to "failed" or to "success" state the terminal state was set to all tasks. But this was a gap for cases when setup- and teardown tasks were defined: If teardown was used to clean-up infrastructure or other resources, they were also skipped and thus resources could stay allocated.</p> <p>As of now when setup tasks had been executed before and the DAG is manually set to "failed" or "success" then teardown tasks are executed. Teardown tasks are skipped if the setup was also skipped.</p> <p>As a side effect this means if the DAG contains teardown tasks, then the manual marking of DAG as "failed" or "success" will need to keep the DAG in running state to ensure that teardown tasks will be scheduled. They would not be scheduled if the DAG is directly set to "failed" or "success".</p> <h2>Bug Fixes</h2> <ul> <li>Prevent using <code>trigger_rule=TriggerRule.ALWAYS</code> in a task-generated mapping within bare tasks (<a href="https://redirect.github.com/apache/airflow/issues/44751">#44751</a>)</li> <li>Fix ShortCircuitOperator mapped tasks (<a href="https://redirect.github.com/apache/airflow/issues/44912">#44912</a>)</li> <li>Fix premature evaluation of tasks with certain trigger rules (e.g. <code>ONE_DONE</code>) in a mapped task group (<a href="https://redirect.github.com/apache/airflow/issues/44937">#44937</a>)</li> <li>Fix task_id validation in BaseOperator (<a href="https://redirect.github.com/apache/airflow/issues/44938">#44938</a>) (<a href="https://redirect.github.com/apache/airflow/issues/44938">#44938</a>)</li> <li>Allow fetching XCom with forward slash from the API and escape it in the UI (<a href="https://redirect.github.com/apache/airflow/issues/45134">#45134</a>)</li> <li>Fix <code>FileTaskHandler</code> only read from default executor (<a href="https://redirect.github.com/apache/airflow/issues/46000">#46000</a>)</li> <li>Fix empty task instance for log (<a href="https://redirect.github.com/apache/airflow/issues/45702">#45702</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45703">#45703</a>)</li> <li>Remove <code>skip_if</code> and <code>run_if</code> decorators before TaskFlow virtualenv tasks are run (<a href="https://redirect.github.com/apache/airflow/issues/41832">#41832</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45680">#45680</a>)</li> <li>Fix request body for json requests in event log (<a href="https://redirect.github.com/apache/airflow/issues/45546">#45546</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45560">#45560</a>)</li> <li>Ensure teardown tasks are executed when DAG run is set to failed (<a href="https://redirect.github.com/apache/airflow/issues/45530">#45530</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45581">#45581</a>)</li> <li>Do not update DR on TI update after task execution (<a href="https://redirect.github.com/apache/airflow/issues/45348">#45348</a>)</li> <li>Fix object and array DAG params that have a None default (<a href="https://redirect.github.com/apache/airflow/issues/45313">#45313</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45315">#45315</a>)</li> <li>Fix endless sensor rescheduling (<a href="https://redirect.github.com/apache/airflow/issues/45224">#45224</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45250">#45250</a>)</li> <li>Evaluate None in SQLAlchemy's extended JSON type decorator (<a href="https://redirect.github.com/apache/airflow/issues/45119">#45119</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45120">#45120</a>)</li> <li>Allow dynamic tasks to be filtered by <code>rendered_map_index</code> (<a href="https://redirect.github.com/apache/airflow/issues/45109">#45109</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45122">#45122</a>)</li> <li>Handle relative paths when sanitizing URLs (<a href="https://redirect.github.com/apache/airflow/issues/41995">#41995</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45080">#45080</a>)</li> <li>Set Autocomplete Off on Login Form (<a href="https://redirect.github.com/apache/airflow/issues/44929">#44929</a>) (<a href="https://redirect.github.com/apache/airflow/issues/44940">#44940</a>)</li> <li>Add Webserver parameters <code>max_form_parts</code>, <code>max_form_memory_size</code> (<a href="https://redirect.github.com/apache/airflow/issues/46243">#46243</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45749">#45749</a>)</li> <li>Fixed accessing thread local variable in BaseOperators <code>execute</code> safeguard mechanism (<a href="https://redirect.github.com/apache/airflow/issues/44646">#44646</a>) (<a href="https://redirect.github.com/apache/airflow/issues/46280">#46280</a>)</li> <li>Add map_index parameter to extra links API (<a href="https://redirect.github.com/apache/airflow/issues/46337">#46337</a>)</li> </ul> <h2>Miscellaneous</h2> <ul> <li>Add traceback log output when SIGTERMs was sent (<a href="https://redirect.github.com/apache/airflow/issues/44880">#44880</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45077">#45077</a>)</li> <li>Removed the ability for Operators to specify their own "scheduling deps" (<a href="https://redirect.github.com/apache/airflow/issues/45713">#45713</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45742">#45742</a>)</li> <li>Deprecate <code>conf</code> from Task Context (<a href="https://redirect.github.com/apache/airflow/issues/44993">#44993</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/apache/airflow/blob/main/RELEASE_NOTES.rst">apache-airflow's changelog</a>.</em></p> <blockquote> <h2>Airflow 2.10.5 (2025-02-10)</h2> <p>Significant Changes ^^^^^^^^^^^^^^^^^^^</p> <p>Ensure teardown tasks are executed when DAG run is set to failed (<a href="https://redirect.github.com/apache/airflow/issues/45530">#45530</a>) """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""</p> <p>Previously when a DAG run was manually set to "failed" or to "success" state the terminal state was set to all tasks. But this was a gap for cases when setup- and teardown tasks were defined: If teardown was used to clean-up infrastructure or other resources, they were also skipped and thus resources could stay allocated.</p> <p>As of now when setup tasks had been executed before and the DAG is manually set to "failed" or "success" then teardown tasks are executed. Teardown tasks are skipped if the setup was also skipped.</p> <p>As a side effect this means if the DAG contains teardown tasks, then the manual marking of DAG as "failed" or "success" will need to keep the DAG in running state to ensure that teardown tasks will be scheduled. They would not be scheduled if the DAG is directly set to "failed" or "success".</p> <p>Bug Fixes """""""""</p> <ul> <li>Prevent using <code>trigger_rule=TriggerRule.ALWAYS</code> in a task-generated mapping within bare tasks (<a href="https://redirect.github.com/apache/airflow/issues/44751">#44751</a>)</li> <li>Fix ShortCircuitOperator mapped tasks (<a href="https://redirect.github.com/apache/airflow/issues/44912">#44912</a>)</li> <li>Fix premature evaluation of tasks with certain trigger rules (e.g. <code>ONE_DONE</code>) in a mapped task group (<a href="https://redirect.github.com/apache/airflow/issues/44937">#44937</a>)</li> <li>Fix task_id validation in BaseOperator (<a href="https://redirect.github.com/apache/airflow/issues/44938">#44938</a>) (<a href="https://redirect.github.com/apache/airflow/issues/44938">#44938</a>)</li> <li>Allow fetching XCom with forward slash from the API and escape it in the UI (<a href="https://redirect.github.com/apache/airflow/issues/45134">#45134</a>)</li> <li>Fix <code>FileTaskHandler</code> only read from default executor (<a href="https://redirect.github.com/apache/airflow/issues/46000">#46000</a>)</li> <li>Fix empty task instance for log (<a href="https://redirect.github.com/apache/airflow/issues/45702">#45702</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45703">#45703</a>)</li> <li>Remove <code>skip_if</code> and <code>run_if</code> decorators before TaskFlow virtualenv tasks are run (<a href="https://redirect.github.com/apache/airflow/issues/41832">#41832</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45680">#45680</a>)</li> <li>Fix request body for json requests in event log (<a href="https://redirect.github.com/apache/airflow/issues/45546">#45546</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45560">#45560</a>)</li> <li>Ensure teardown tasks are executed when DAG run is set to failed (<a href="https://redirect.github.com/apache/airflow/issues/45530">#45530</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45581">#45581</a>)</li> <li>Do not update DR on TI update after task execution (<a href="https://redirect.github.com/apache/airflow/issues/45348">#45348</a>)</li> <li>Fix object and array DAG params that have a None default (<a href="https://redirect.github.com/apache/airflow/issues/45313">#45313</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45315">#45315</a>)</li> <li>Fix endless sensor rescheduling (<a href="https://redirect.github.com/apache/airflow/issues/45224">#45224</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45250">#45250</a>)</li> <li>Evaluate None in SQLAlchemy's extended JSON type decorator (<a href="https://redirect.github.com/apache/airflow/issues/45119">#45119</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45120">#45120</a>)</li> <li>Allow dynamic tasks to be filtered by <code>rendered_map_index</code> (<a href="https://redirect.github.com/apache/airflow/issues/45109">#45109</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45122">#45122</a>)</li> <li>Handle relative paths when sanitizing URLs (<a href="https://redirect.github.com/apache/airflow/issues/41995">#41995</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45080">#45080</a>)</li> <li>Set Autocomplete Off on Login Form (<a href="https://redirect.github.com/apache/airflow/issues/44929">#44929</a>) (<a href="https://redirect.github.com/apache/airflow/issues/44940">#44940</a>)</li> <li>Add Webserver parameters <code>max_form_parts</code>, <code>max_form_memory_size</code> (<a href="https://redirect.github.com/apache/airflow/issues/46243">#46243</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45749">#45749</a>)</li> <li>Fixed accessing thread local variable in BaseOperators <code>execute</code> safeguard mechanism (<a href="https://redirect.github.com/apache/airflow/issues/44646">#44646</a>) (<a href="https://redirect.github.com/apache/airflow/issues/46280">#46280</a>)</li> <li>Add map_index parameter to extra links API (<a href="https://redirect.github.com/apache/airflow/issues/46337">#46337</a>)</li> </ul> <p>Miscellaneous """""""""""""</p> <ul> <li>Add traceback log output when SIGTERMs was sent (<a href="https://redirect.github.com/apache/airflow/issues/44880">#44880</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45077">#45077</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/airflow/commit/b93c3db6b1641b0840bd15ac7d05bc58ff2cccbf"><code>b93c3db</code></a> Update RELEASE_NOTES.rst</li> <li><a href="https://github.com/apache/airflow/commit/37f621899795c53c78022bc0018c9b65beca291f"><code>37f6218</code></a> Update version to 2.10.5</li> <li><a href="https://github.com/apache/airflow/commit/dcf865065a7e98b08c3633d86269122093397fdf"><code>dcf8650</code></a> Add map_index parameter to extra links API for Airflow 2.10 (<a href="https://redirect.github.com/apache/airflow/issues/46337">#46337</a>)</li> <li><a href="https://github.com/apache/airflow/commit/d60df2a29c6d0adde19dfb103a66c3f748d47939"><code>d60df2a</code></a> [v2-10-test] Add Webserver parameters: max_form_parts, max_form_memory_size (...</li> <li><a href="https://github.com/apache/airflow/commit/57adf0b285331cfff587c2be77abadc4aed45b9d"><code>57adf0b</code></a> Fixed thread local _sentinel.callers defect and added test cases (<a href="https://redirect.github.com/apache/airflow/issues/44646">#44646</a>) (<a href="https://redirect.github.com/apache/airflow/issues/4">#4</a>...</li> <li><a href="https://github.com/apache/airflow/commit/a2f302de1c41af74261bbaebc0159789f6020d0a"><code>a2f302d</code></a> Issue deprecation warning for plugins registering <code>ti_deps</code> (<a href="https://redirect.github.com/apache/airflow/issues/45742">#45742</a>)</li> <li><a href="https://github.com/apache/airflow/commit/a5726a5a0dee892264ad5fc25ef225b02d6403c4"><code>a5726a5</code></a> [v2-10-test] Upgrade uv and pip (<a href="https://redirect.github.com/apache/airflow/issues/46078">#46078</a>)</li> <li><a href="https://github.com/apache/airflow/commit/78569832045b9c6119d601faa8d6b945f2c16009"><code>7856983</code></a> [v2-10-test] Fix <code>FileTaskHandler</code> only read from default executor (<a href="https://redirect.github.com/apache/airflow/issues/46000">#46000</a>)</li> <li><a href="https://github.com/apache/airflow/commit/80a19904606ecbfd1a6158cb733fbb7161f4d35f"><code>80a1990</code></a> Remove Scarf tracking (<a href="https://redirect.github.com/apache/airflow/issues/45865">#45865</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45941">#45941</a>)</li> <li><a href="https://github.com/apache/airflow/commit/8017ca4674b0f9c40b2324dedf34f50aae360837"><code>8017ca4</code></a> Add ready_for_review to workflow pull_request types (<a href="https://redirect.github.com/apache/airflow/issues/45855">#45855</a>) (<a href="https://redirect.github.com/apache/airflow/issues/45906">#45906</a>)</li> <li>Additional commits viewable in <a href="https://github.com/apache/airflow/compare/2.10.4...2.10.5">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
