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

[Feature] Add callback support for ExecutionMode.KUBERNETES #1398

Open
1 task
pankajkoti opened this issue Dec 17, 2024 · 0 comments
Open
1 task

[Feature] Add callback support for ExecutionMode.KUBERNETES #1398

pankajkoti opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request execution:kubernetes Related to Kubernetes execution environment triage-needed Items need to be reviewed / assigned to milestone

Comments

@pankajkoti
Copy link
Contributor

Description

Similar to the functionality of supporting to specify callback argument in the ExecutionMode.LOCAL as can be seen in

callback: Callable[[str], None] | None = None,
, and as PR #1389 demonstrates how to leverage this callback argument, we should add the support for the callback argument in ExceutionMode.KUBERNETES

Use case/motivation

A common request from users is the ability to inspect files in the target directory after task execution. Since Cosmos clones the project directory into a temporary directory and executes tasks from there, access to this directory is lost once the task completes. While ExecutionMode.LOCAL provides callback support to perform actions on this temporary directory, similar functionality is currently unavailable for ExecutionMode.Kubernetes. Adding this support would be highly beneficial.

Related issues

related: #1349

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!
@pankajkoti pankajkoti added enhancement New feature or request triage-needed Items need to be reviewed / assigned to milestone labels Dec 17, 2024
@dosubot dosubot bot added the execution:kubernetes Related to Kubernetes execution environment label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request execution:kubernetes Related to Kubernetes execution environment triage-needed Items need to be reviewed / assigned to milestone
Projects
None yet
Development

No branches or pull requests

1 participant