Skip to content

Conversation

xinyuangui2
Copy link
Contributor

@xinyuangui2 xinyuangui2 commented Jul 2, 2025

Why are these changes needed?

In RunConfig, it subclasses RunConfigV1, whose __post_init__ is using v1 configs to initialize.
Now we remove the subclass relationship to avoid unexpected bugs.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • 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 added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • 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 :(

@xinyuangui2 xinyuangui2 marked this pull request as ready for review July 2, 2025 23:14
@xinyuangui2 xinyuangui2 requested a review from a team as a code owner July 2, 2025 23:14
@xinyuangui2 xinyuangui2 changed the title remove the subclass relationship between RunConfig and RunConfigV1 [Train] Remove the subclass relationship between RunConfig and RunConfigV1 Jul 2, 2025
@xinyuangui2 xinyuangui2 requested a review from justinvyu July 3, 2025 21:57
Signed-off-by: xgui <[email protected]>
@justinvyu justinvyu enabled auto-merge (squash) July 3, 2025 22:43
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Jul 3, 2025
@github-actions github-actions bot disabled auto-merge July 3, 2025 22:49
Signed-off-by: xgui <[email protected]>
@matthewdeng matthewdeng merged commit d10b556 into ray-project:master Jul 5, 2025
5 checks passed
elliot-barn pushed a commit that referenced this pull request Jul 7, 2025
…figV1 (#54293)

In RunConfig, it subclasses RunConfigV1, whose `__post_init__` is using
v1 configs to initialize.
Now we remove the subclass relationship to avoid unexpected bugs.


---------

Signed-off-by: xgui <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
ccmao1130 pushed a commit to ccmao1130/ray that referenced this pull request Jul 29, 2025
…figV1 (ray-project#54293)

In RunConfig, it subclasses RunConfigV1, whose `__post_init__` is using
v1 configs to initialize.
Now we remove the subclass relationship to avoid unexpected bugs.

---------

Signed-off-by: xgui <[email protected]>
Signed-off-by: ChanChan Mao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants