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

Do not create new StageInfo object #1261

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Conversation

nartal1
Copy link
Collaborator

@nartal1 nartal1 commented Aug 5, 2024

This contributes to #1260

In this PR, we do not create the new StageInfo object. Instead we return newStageInfo itself.

Signed-off-by: Niranjan Artal <nartal@nvidia.com>
@nartal1 nartal1 added the bug Something isn't working label Aug 5, 2024
@nartal1 nartal1 requested a review from amahussein August 5, 2024 21:35
@nartal1 nartal1 self-assigned this Aug 5, 2024
Copy link
Collaborator

@amahussein amahussein left a comment

Choose a reason for hiding this comment

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

Thanks @nartal1

@@ -54,7 +55,7 @@ class StageModel private(sInfo: StageInfo) {
stubStage.submissionTime = newStageInfo.submissionTime
stubStage.failureReason = newStageInfo.failureReason
stubStage
}
}*/
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can remove it completely
or just return the same newStageInfo. This will be more consistent with avoiding dead leaving dead code around.

Signed-off-by: Niranjan Artal <nartal@nvidia.com>
@nartal1 nartal1 changed the title Disable creating StageInfo object Do not create new StageInfo object Aug 5, 2024
@amahussein amahussein added the core_tools Scope the core module (scala) label Aug 6, 2024
Copy link
Collaborator

@amahussein amahussein left a comment

Choose a reason for hiding this comment

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

Thanks @nartal1
LGTME

@amahussein amahussein merged commit ec89eed into NVIDIA:dev Aug 6, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core_tools Scope the core module (scala)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants