Skip to content

Conversation

@sortega
Copy link
Contributor

@sortega sortega commented Sep 11, 2025

Return placeholder message when requested the logs of tasks skipped because of upstream failures as we were doing previously for skipped tis.

Before updating the test for the fix, enable the tests in TestFileTaskLogHandler and fix them.

closes: #55514


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@eladkal eladkal added this to the Airflow 3.1.0 milestone Sep 11, 2025
@eladkal eladkal added the type:bug-fix Changelog: Bug Fixes label Sep 11, 2025
Copy link
Contributor

@ephraimbuddy ephraimbuddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a little clarification on the test

@sortega
Copy link
Contributor Author

sortega commented Sep 15, 2025

@ephraimbuddy, are those clarifications enough?

@ephraimbuddy ephraimbuddy merged commit b069f1f into apache:main Sep 16, 2025
107 checks passed
@sortega sortega deleted the sortega/55514_failed_upstream branch September 16, 2025 12:32
kaxil pushed a commit that referenced this pull request Sep 16, 2025
…ures (#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures

(cherry picked from commit b069f1f)
suman-himanshu pushed a commit to suman-himanshu/airflow that referenced this pull request Sep 17, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Sep 30, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
…ures (apache#55517)

* Fix TestFileTaskLogHandler tests

* Return placeholder message when requested the logs of tasks skipped because of upstream failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Error fetching the logs. Try number 0 is invalid" for tasks skipped because upstream tasks failed

3 participants