Skip to content

Conversation

@lchu6
Copy link
Contributor

@lchu6 lchu6 commented Oct 13, 2021

Why are these changes needed?

Quick fix for metadata put. Currently when workflow-level metadata is not given, it will output null to user_run_metadata.json, this fix will make it output {}.

Related issue number

original issue: #17090
original PR: #19195

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@lchu6 lchu6 requested review from ericl and fishbone as code owners October 13, 2021 15:07
@fishbone fishbone changed the title fix workflow user metadata return when None is given [workflow] fix workflow user metadata return when None is given Oct 13, 2021
@fishbone
Copy link
Contributor

Do we have a test case to cover this one? The current CI doesn't fail so I think the test is not good enough?

@fishbone fishbone added the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Oct 13, 2021
@lchu6
Copy link
Contributor Author

lchu6 commented Oct 13, 2021

@iycheng added test_no_user_metadata

Copy link
Contributor

@fishbone fishbone left a comment

Choose a reason for hiding this comment

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

LG! Waiting for test to finish.

@fishbone fishbone removed the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Oct 13, 2021
@fishbone
Copy link
Contributor

Test failure not related.

@fishbone fishbone merged commit b86a5fc into ray-project:master Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants