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

Fix for #895 #898

Merged
merged 11 commits into from
Nov 9, 2017
Merged

Fix for #895 #898

merged 11 commits into from
Nov 9, 2017

Conversation

szoupanos
Copy link
Contributor

This is a fix for #895.
It should be OK but we should also do some final checks by running @nmounet workflows again.

I will start them now & I will let you know (they will take several hours)

@szoupanos
Copy link
Contributor Author

@muhrin Please have a look at the change of manual_tick_all() and let us know what you think.

@@ -139,5 +139,5 @@ def manual_tick_all():
submit_jobs()
update_jobs()
retrieve_jobs()
execute_steps() # legacy workflows
workflow_stepper() # legacy workflows
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@giovannipizzi @muhrin
I had to use execute_steps() in my test because workflow_stepper() was exiting with a message that was already called. Maybe this was the reason why Martin used execute_steps() at this point. And it is the case, we should not change it to workflow_stepper()

Copy link
Member

Choose a reason for hiding this comment

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

I see, and I think I understand the problem. It's because in this new way we're calling the celery task.
Let's put it back to what it was for now. (better would be to have the task just call a function, and here call that function, with all the logic for setting the timestamps - both here and for the other functions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this was the conclusion of the discussion that I had with Sebastiaan a few mins ago.

@szoupanos
Copy link
Contributor Author

This can be merged. Look at my comment at #895

@sphuber
Copy link
Contributor

sphuber commented Nov 9, 2017

Are we sure already that the change in the manual_tick_all is ok?

sphuber
sphuber previously approved these changes Nov 9, 2017
Copy link
Member

@giovannipizzi giovannipizzi left a comment

Choose a reason for hiding this comment

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

See comment on the tick_manual function

@szoupanos szoupanos merged commit 96f8999 into aiidateam:release_v0.10.0rc3 Nov 9, 2017
@szoupanos szoupanos deleted the fix_for_895 branch November 9, 2017 14:03
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.

3 participants