Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Summary: port graceful-stop coverage from hyperactor_multiprocess into the v1 mesh layer. this adds actor_mesh::test_actor_mesh_stop_graceful, which spawns responsive TestActors across a proc mesh, calls stop(), and verifies that the operation completes quickly and returns Ok — the V1 analogue of V0's test_stop. both paths use the same underlying mechanism (Proc::destroy_and_wait), but V1 reports a simple success instead of V0's structured ProcStopResult, so the V0 test is re-documented to point at the new V1 coverage and note the API difference.

Differential Revision: D87933475

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 26, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 26, 2025

@shayne-fletcher has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87933475.

shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 26, 2025
Summary:

port graceful-stop coverage from hyperactor_multiprocess into the v1 mesh layer. this adds `actor_mesh::test_actor_mesh_stop_graceful`, which spawns responsive `TestActor`s across a proc mesh, calls `stop()`, and verifies that the operation completes quickly and returns `Ok` — the V1 analogue of V0's test_stop. both paths use the same underlying mechanism (`Proc::destroy_and_wait`), but V1 reports a simple success instead of V0's structured `ProcStopResult`, so the V0 test is re-documented to point at the new V1 coverage and note the API difference.

Differential Revision: D87933475
Summary:

port graceful-stop coverage from hyperactor_multiprocess into the v1 mesh layer. this adds `actor_mesh::test_actor_mesh_stop_graceful`, which spawns responsive `TestActor`s across a proc mesh, calls `stop()`, and verifies that the operation completes quickly and returns `Ok` — the V1 analogue of V0's test_stop. both paths use the same underlying mechanism (`Proc::destroy_and_wait`), but V1 reports a simple success instead of V0's structured `ProcStopResult`, so the V0 test is re-documented to point at the new V1 coverage and note the API difference.

Differential Revision: D87933475
@meta-codesync
Copy link

meta-codesync bot commented Dec 1, 2025

This pull request has been merged in 9290eb1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants