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

[2.4] Move workspace setup inside constructor #2308

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

YuanTingHsieh
Copy link
Collaborator

Description

Line 354 run_status = self._get_return_code(return_dict, process, self.workspace) is running in the main process while
the workspace was being setup in the forked process.

Then this workspace setup will not be reflected back into the main process.

We move the workspace setup code inside the class constructor to solve this problem.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Quick tests passed locally by running ./runtest.sh.
  • In-line docstrings updated.
  • Documentation updated.

@YuanTingHsieh YuanTingHsieh changed the title Move workspace setup inside constructor [2.4] Move workspace setup inside constructor Jan 23, 2024
@YuanTingHsieh YuanTingHsieh requested a review from yhwen January 23, 2024 23:07
@YuanTingHsieh YuanTingHsieh added the bug Something isn't working label Jan 23, 2024
Copy link
Collaborator

@IsaacYangSLA IsaacYangSLA left a comment

Choose a reason for hiding this comment

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

LGTM.

@YuanTingHsieh
Copy link
Collaborator Author

/build

1 similar comment
@YuanTingHsieh
Copy link
Collaborator Author

/build

@IsaacYangSLA IsaacYangSLA merged commit 03db5e4 into NVIDIA:2.4 Jan 24, 2024
15 checks passed
@YuanTingHsieh YuanTingHsieh deleted the fix_simulator_runner_24 branch January 24, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants