-
Notifications
You must be signed in to change notification settings - Fork 355
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
Refactoring interface common routines #1079
base: devel
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,10 +52,10 @@ def init_runner(**kwargs): | |
''' | ||
# If running via the transmit-worker-process method, we must only extract things as read-only | ||
# inside of one of these commands. That could be either transmit or worker. | ||
if kwargs.get('streamer') not in ('worker', 'process'): | ||
if kwargs.get('process_isolation') or kwargs.get('streamer') not in ('worker', 'process'): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These lines are what I was really looking for in here. Trying to use direct role execution from the CLI using an execution environment didn't work because of the path assignment behavior. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whoa, wait. Just on the surface of it, it seems like making this change would break the transmit phase of streaming runner. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ... or I misread the logic. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After reconsidering, though, I'm not sure how it helps to do the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In practice, artifacts shouldn't be getting dumped because of |
||
dump_artifacts(kwargs) | ||
|
||
if kwargs.get('streamer'): | ||
if kwargs.get('streamer') or kwargs.get('process_isolation'): | ||
# undo any full paths that were dumped by dump_artifacts above in the streamer case | ||
private_data_dir = kwargs['private_data_dir'] | ||
project_dir = os.path.join(private_data_dir, 'project') | ||
|
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.
looks like it was removed?