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

[SDK] Fix Incorrect Events in get_job_logs API #2122

Merged
merged 1 commit into from
May 21, 2024

Conversation

andreyvelich
Copy link
Member

@andreyvelich andreyvelich commented May 21, 2024

I fixed add_event_to_dict function to correctly check key in events_dict dictionary.
I introduced this bug in this commit: b2d9c36.

Also, I made the key as follows:

<object_kind>/<object_name>
pytorchjob/training-job

/assign @kubeflow/wg-training-leads @droctothorpe

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
@coveralls
Copy link

Pull Request Test Coverage Report for Build 9174836408

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 6 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 35.383%

Files with Coverage Reduction New Missed Lines %
pkg/controller.v1/mpi/mpijob_controller.go 6 80.67%
Totals Coverage Status
Change from base Build 9167444394: -0.04%
Covered Lines: 4374
Relevant Lines: 12362

💛 - Coveralls

Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

Thank you!
/lgtm
/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: droctothorpe, tenzen-y

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 0452e2d into kubeflow:master May 21, 2024
39 checks passed
@andreyvelich andreyvelich deleted the fix-sdk-events branch May 21, 2024 16:43
tenzen-y pushed a commit to tenzen-y/training-operator that referenced this pull request Jun 5, 2024
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
tenzen-y pushed a commit to tenzen-y/training-operator that referenced this pull request Jun 7, 2024
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
google-oss-prow bot pushed a commit that referenced this pull request Jun 10, 2024
#2122: Fix Incorrect Events in get_job_logs API (#2138)

* Support Python 3.11 and Drop Python 3.7

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Fix Incorrect Events in get_job_logs API

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

---------

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants