Repository navigation
[core] Retarget stale FreeLocalObjects fault-tolerance test - #64979
Merged
rueian merged 5 commits intoJul 24, 2026
Merged
Conversation
test_free_objects_idempotent injected RPC failures on ObjectManagerService.FreeObjects, which was removed in ray-project#63181 (FreeObjects 2/n) and replaced by owner-driven NodeManagerService.FreeLocalObjects. The injection has matched no live call since, so the test freed objects with no failure injected -- green but not exercising fault tolerance. Retarget the injection to NodeManagerService.FreeLocalObjects and rename the test, restoring retry/idempotency coverage. Mirrors the passing test_request_worker_lease_idempotent pattern. AI assistance (Claude) was used. Not run locally (installed wheel predates source); relies on CI. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: yuanzhuoyang <[email protected]>
ShockYoungCHN
force-pushed
the
fix-stale-free-local-objects-test
branch
from
July 24, 2026 01:06
d2211f0 to
01d8553
Compare
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the fault tolerance tests in test_object_manager_fault_tolerance.py by renaming test_free_objects_idempotent to test_free_local_objects_idempotent. It also updates the mocked RPC failure service from ObjectManagerService.grpc_client.FreeObjects to NodeManagerService.grpc_client.FreeLocalObjects and adds an explanatory comment. There are no review comments, so no additional feedback is provided.
Sparks0219
approved these changes
Jul 24, 2026
Sparks0219
left a comment
Contributor
There was a problem hiding this comment.
LGTM, please rebase and fix lint
Sparks0219
enabled auto-merge (squash)
July 24, 2026 05:56
rueian
enabled auto-merge (squash)
July 24, 2026 20:10
Contributor
Author
|
thx! |
400Ping
pushed a commit
to 400Ping/ray
that referenced
this pull request
Aug 18, 2026
…ect#64979) ## Description test_free_objects_idempotent injected RPC failures on ObjectManagerService.FreeObjects, which was removed in ray-project#63181 (FreeObjects 2/n) and replaced by owner-driven NodeManagerService.FreeLocalObjects. The injection has matched no live call since, so the test freed objects with no failure injected. Retarget the injection to NodeManagerService.FreeLocalObjects and rename the test, restoring retry/idempotency coverage. Signed-off-by: yuanzhuoyang <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: 400Ping <[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.
Description
test_free_objects_idempotent injected RPC failures on ObjectManagerService.FreeObjects, which was removed in #63181 (FreeObjects 2/n) and replaced by owner-driven NodeManagerService.FreeLocalObjects. The injection has matched no live call since, so the test freed objects with no failure injected.
Retarget the injection to NodeManagerService.FreeLocalObjects and rename the test, restoring retry/idempotency coverage.