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
Merge 17.09. #5227
Merged
Merged
Merge 17.09. #5227
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[17.09] Small deployer doc fixes.
before checking whether stderr and exit code combination should result in a failed job. This should fix galaxyproject#5214.
…led outputs. I like this better for three reasons: - Since usually it is scripts producing this JSON - we have the most control at that point for determining the failure and we don't have to deal with an artificial dependency between the tool's stdio and the output. - At some point we could potentially allow some datasets to be ok now even though the job fails. - It is a cleaner interface at the Python level between job finish and output collection IMO (no need for isinstance checking).
…to_stderr Let ToolProvidedMetadata interface more directly decide if it has failed outputs.
…n_tools_write_to_stderr [17.09] Fail job if tools that use galaxy.json write to stderr
jmchilton
force-pushed
the
merge_1709
branch
from
December 15, 2017 16:05
0eba74a
to
af858e3
Compare
jmchilton
commented
Dec 15, 2017
test/base/populators.py
Outdated
run = run_response.json() | ||
assert run_response.status_code == 200, run | ||
job = run["jobs"][0] | ||
self.wait_for_job(job["id"], timeout=timeout) | ||
self.wait_for_history(history_id, assert_ok=True, timeout=timeout) | ||
self.wait_for_history(history_id, assert_ok=assert_ok) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And that isn't right - the PR was a good choice.
jmchilton
force-pushed
the
merge_1709
branch
from
December 15, 2017 16:06
af858e3
to
63612c5
Compare
nsoranzo
approved these changes
Dec 15, 2017
nsoranzo
reviewed
Dec 15, 2017
test/base/populators.py
Outdated
@@ -145,15 +145,15 @@ def new_dataset_request(self, history_id, content=None, wait=False, **kwds): | |||
payload = self.upload_payload(history_id, content=content, **kwds) | |||
run_response = self.tools_post(payload) | |||
if wait: | |||
self.wait_for_tool_run(history_id, run_response) | |||
self.wait_for_tool_run(history_id, run_response, kwds.get('assert_ok', True)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should be assert_ok=kwds.get('assert_ok', True)
jmchilton
force-pushed
the
merge_1709
branch
from
December 15, 2017 17:02
63612c5
to
90ba35a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tricky merge of #5217 - I'd like to see the API tests pass.