Skip to content

Conversation

@daiping8
Copy link
Contributor

@daiping8 daiping8 commented Oct 18, 2025

Description

Related issues

Closes #57847

Additional information

Change-Id: Ie4e7e5d53a882b4eafcc85513822f095068be816
Signed-off-by: daiping8 <[email protected]>
@daiping8 daiping8 requested review from a team as code owners October 18, 2025 07:52
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This PR correctly adds the missing AutoscalingContext import to the coordinated_scaling_policy documentation example, making it self-contained. I've suggested a minor improvement to sort the imports according to PEP 8. I also noticed that the custom_metrics_autoscaling_policy example in the same file is missing imports for AutoscalingContext, Dict, and Any. Addressing this would make all examples in the file complete.

@ray-gardener ray-gardener bot added serve Ray Serve Related Issue docs An issue or change related to documentation community-contribution Contributed by the community labels Oct 18, 2025
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Oct 19, 2025
@abrarsheikh
Copy link
Contributor

on a second though could you also add appropriate imports to the custom metrics policy code block https://anyscale-ray--57876.com.readthedocs.build/en/57876/serve/advanced-guides/advanced-autoscaling.html#custom-metrics

@daiping8
Copy link
Contributor Author

daiping8 commented Oct 20, 2025

on a second though could you also add appropriate imports to the custom metrics policy code block https://anyscale-ray--57876.com.readthedocs.build/en/57876/serve/advanced-guides/advanced-autoscaling.html#custom-metrics

Sure! Modification in PR #57896.

@abrarsheikh abrarsheikh merged commit b988ce4 into ray-project:master Oct 20, 2025
6 checks passed
justinyeh1995 pushed a commit to justinyeh1995/ray that referenced this pull request Oct 20, 2025
…ay-project#57876)

## Description

## Related issues
Closes ray-project#57847

## Additional information

Signed-off-by: daiping8 <[email protected]>
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
…ay-project#57876)

## Description

## Related issues
Closes ray-project#57847

## Additional information

Signed-off-by: daiping8 <[email protected]>
Signed-off-by: xgui <[email protected]>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
…57876)

## Description

## Related issues
Closes #57847

## Additional information

Signed-off-by: daiping8 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
abrarsheikh pushed a commit that referenced this pull request Oct 27, 2025
## Description
Add missing imports to autoscaling policy example

## Related issues
Link related issues:
#57876 (comment)

---------

Signed-off-by: daiping8 <[email protected]>
Signed-off-by: Ping Dai <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…ay-project#57876)

## Description

## Related issues
Closes ray-project#57847

## Additional information

Signed-off-by: daiping8 <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…roject#57896)

## Description
Add missing imports to autoscaling policy example

## Related issues
Link related issues:
ray-project#57876 (comment)

---------

Signed-off-by: daiping8 <[email protected]>
Signed-off-by: Ping Dai <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…ay-project#57876)

## Description

## Related issues
Closes ray-project#57847

## Additional information

Signed-off-by: daiping8 <[email protected]>
Signed-off-by: Aydin Abiar <[email protected]>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…roject#57896)

## Description
Add missing imports to autoscaling policy example

## Related issues
Link related issues:
ray-project#57876 (comment)

---------

Signed-off-by: daiping8 <[email protected]>
Signed-off-by: Ping Dai <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Aydin Abiar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community docs An issue or change related to documentation go add ONLY when ready to merge, run all tests serve Ray Serve Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Serve] application level autoscaling doc missing import

2 participants