Skip to content

[data] Fix incorrect timeout value in autoscaler shutdown warning - #65317

Merged
bveeramani merged 3 commits into
ray-project:masterfrom
aliceco01:fix-shutdown-warning-timeout
Aug 20, 2026
Merged

bveeramani merged 3 commits into
ray-project:masterfrom
aliceco01:fix-shutdown-warning-timeout

Conversation

@aliceco01

Copy link
Copy Markdown
Contributor

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 #60111 (originally identified there)

Verified the referenced constant matches the expire_after_s value used in
_send_resource_request on current master.

@aliceco01
aliceco01 requested a review from a team as a code owner August 10, 2026 04:16

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

@ray-gardener ray-gardener Bot added data Ray Data-related issues community-contribution Contributed by the community labels Aug 10, 2026

@bveeramani bveeramani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@bveeramani
bveeramani enabled auto-merge (squash) August 19, 2026 03:54
@bveeramani bveeramani self-assigned this Aug 19, 2026
@github-actions github-actions Bot added the go add ONLY when ready to merge, run all tests label Aug 19, 2026
@github-actions
github-actions Bot disabled auto-merge August 19, 2026 03:54
@bveeramani
bveeramani merged commit c401431 into ray-project:master Aug 20, 2026
3 checks passed
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]>
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 data Ray Data-related issues go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants