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

Separate JobProcess submit task in folder upload and scheduler submit #1946

Merged

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Sep 6, 2018

Fixes #1940

Originally, the submit TransportTask of a JobProcess included both the
uploading of the work directory on the remote machine as well as the
call to the scheduler to submit the job. These have now been separated
into two separate TransportTasks, upload and submit, in order to
provide finer grained control over the job process control flow.

@codecov-io
Copy link

codecov-io commented Sep 6, 2018

Codecov Report

Merging #1946 into develop will decrease coverage by 0.02%.
The diff coverage is 23.8%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1946      +/-   ##
===========================================
- Coverage    67.61%   67.59%   -0.03%     
===========================================
  Files          324      324              
  Lines        33305    33319      +14     
===========================================
+ Hits         22520    22522       +2     
- Misses       10785    10797      +12
Impacted Files Coverage Δ
aiida/common/log.py 75.51% <100%> (ø) ⬆️
aiida/daemon/execmanager.py 9.68% <15.78%> (+0.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a94294f...82e21fd. Read the comment docs.

@muhrin
Copy link
Contributor

muhrin commented Sep 7, 2018

@sphuber Can you base this on my PR #1929 where the update tasks are gone completely?

@sphuber
Copy link
Contributor Author

sphuber commented Sep 11, 2018

Except I haven't touched the update tasks at all, right?

@sphuber sphuber force-pushed the fix_1940_submission_transport_separation branch from 82e21fd to 6e537ed Compare October 1, 2018 17:06
Originally, the submit TransportTask of a JobProcess included both the
uploading of the work directory on the remote machine as well as the
call to the scheduler to submit the job. These have now been separated
into two separate TransportTasks, `upload` and `submit`, in order to
provide finer grained control over the job process control flow.
@sphuber sphuber force-pushed the fix_1940_submission_transport_separation branch from 6e537ed to 4a8f131 Compare October 2, 2018 08:57
@coveralls
Copy link

Coverage Status

Coverage increased (+1.2%) to 61.186% when pulling 4a8f131 on sphuber:fix_1940_submission_transport_separation into 1f73e50 on aiidateam:develop.

@coveralls
Copy link

coveralls commented Oct 2, 2018

Coverage Status

Coverage increased (+7.8%) to 67.834% when pulling 4a8f131 on sphuber:fix_1940_submission_transport_separation into 1f73e50 on aiidateam:develop.

@sphuber sphuber merged commit b809472 into aiidateam:develop Oct 2, 2018
@sphuber sphuber deleted the fix_1940_submission_transport_separation branch October 2, 2018 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants