Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIP-72: Handling task instance state exceptions from task sdk and execution API #44414

Open
3 of 9 tasks
amoghrajesh opened this issue Nov 27, 2024 · 2 comments
Open
3 of 9 tasks
Assignees
Labels
area:core area:task-execution-interface-aip72 AIP-72: Task Execution Interface (TEI) aka Task SDK kind:meta High-level information important to the community

Comments

@amoghrajesh
Copy link
Contributor

amoghrajesh commented Nov 27, 2024

Body

Similar to #44137, there are various state exceptions raised while running ti.task.execute. This issue tracks handling them gracefully.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.
@amoghrajesh amoghrajesh added kind:meta High-level information important to the community area:task-execution-interface-aip72 AIP-72: Task Execution Interface (TEI) aka Task SDK labels Nov 27, 2024
@amoghrajesh amoghrajesh assigned amoghrajesh, ashb and kaxil and unassigned amoghrajesh Nov 27, 2024
@dosubot dosubot bot added the area:core label Nov 27, 2024
@ashb
Copy link
Member

ashb commented Nov 27, 2024

System exit should be handled already I thought?

@amoghrajesh
Copy link
Contributor Author

I do not think we do it:

    except SystemExit:
        ...
    except BaseException:
        # TODO: Handle TI handle failure
        raise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core area:task-execution-interface-aip72 AIP-72: Task Execution Interface (TEI) aka Task SDK kind:meta High-level information important to the community
Development

No branches or pull requests

3 participants