Repository navigation
[data] Fix incorrect timeout value in autoscaler shutdown warning - #65317
Merged
bveeramani merged 3 commits intoAug 20, 2026
Merged
Conversation
Signed-off-by: Alice C <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates a warning log message in default_cluster_autoscaler_v2.py to correctly reference the constant AUTOSCALING_REQUEST_EXPIRE_TIME_S instead of _min_gap_between_autoscaling_requests_s when describing the resource request expiration timeout. There are no review comments, and I have no feedback to provide.
bveeramani
enabled auto-merge (squash)
August 19, 2026 03:54
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
…y-project#65317) The warning logged when cancelling a resource request fails during executor shutdown reports `_min_gap_between_autoscaling_requests_s` (default 10s) as the expiry timeout, but the request is actually submitted with `expire_after_s=AUTOSCALING_REQUEST_EXPIRE_TIME_S` (default 180s) in `_send_resource_request`. This corrects the log message to reference the real expiry value, so operators debugging shutdown behavior aren't misled about how long a stale resource request will linger. Log-message-only change; no behavior change. Related to ray-project#60111 (originally identified there) Verified the referenced constant matches the `expire_after_s` value used in `_send_resource_request` on current master. Signed-off-by: Alice C <[email protected]> Co-authored-by: Balaji Veeramani <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The warning logged when cancelling a resource request fails during executor
shutdown reports
_min_gap_between_autoscaling_requests_s(default 10s) asthe expiry timeout, but the request is actually submitted with
expire_after_s=AUTOSCALING_REQUEST_EXPIRE_TIME_S(default 180s) in_send_resource_request. This corrects the log message to reference thereal expiry value, so operators debugging shutdown behavior aren't misled
about how long a stale resource request will linger.
Log-message-only change; no behavior change.
Related to #60111 (originally identified there)
Verified the referenced constant matches the
expire_after_svalue used in_send_resource_requeston current master.