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

vdk-core: make sure standalone data job doesn't run steps #2609

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

antoniivanov
Copy link
Collaborator

Standalone Data Job ignores directory provided steps and doesn't run them (at least not currently).

But if a plugin adds more steps , this logic does not work and it runs the steps adde by the plugin. In our case vdk-notebook add new notebook steps and they are run . This causes when a new notebook is created and job_input is intiailzied , during initializaiton it tries to run all steps in the notebook.

This fixes this issue by adding explicit function after initialize_job that replaces all steps with noop step.

Standalone Data Job ignores directory provided steps and doesn't run them (at least not currently).

But if a plugin adds more steps , this logic does not work and it runs the steps adde by the plugin. In our case vdk-notebook add new notebook steps and they are run . This causes when a new notebook is created and job_input is intiailzied , during initializaiton it tries to run all steps in the notebook.

This fixes this issue by adding explicit function after initialize_job that replaces all steps with noop step.
Copy link
Contributor

@yonitoo yonitoo left a comment

Choose a reason for hiding this comment

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

LGTM

@antoniivanov antoniivanov merged commit fb5c041 into main Aug 28, 2023
@antoniivanov antoniivanov deleted the person/aivanov/vdk-core branch August 28, 2023 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants