Skip to content

Conversation

@dulinriley
Copy link
Contributor

Summary:
Before, calling "proc_mesh.stop()" or "actor_mesh.stop()" would generate mesh
failures that could cause the unhandled_fault_hook to be called, even if those meshes
were not used afterwards.

This created a negative user experience, and wasn't making a useful error message. To fix
this, distinguish between requested stops and unrequested failures. The former does not
cause a client crash, and the latter does.
Requested stops will still make proc meshes and actor meshes unusable (cannot spawn new
actors, cannot message existing actors) and the error messages will include that the mesh was
stopped.

Also, on the side, include the mesh name with the mesh failure. This wasn't always included
with the ActorSupervisionEvent (particularly for stopping), and it's very helpful to have when an error occurs.

Differential Revision: D85596621

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

meta-codesync bot commented Oct 27, 2025

@dulinriley has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85596621.

Summary:

Before, calling "proc_mesh.stop()" or "actor_mesh.stop()" would generate mesh
failures that could cause the `unhandled_fault_hook` to be called, even if those meshes
were not used afterwards.

This created a negative user experience, and wasn't making a useful error message. To fix
this, distinguish between requested stops and unrequested failures. The former does not
cause a client crash, and the latter does.
Requested stops will still make proc meshes and actor meshes unusable (cannot spawn new
actors, cannot message existing actors) and the error messages will include that the mesh was
stopped.

Also, on the side, include the mesh name with the mesh failure. This wasn't always included
with the ActorSupervisionEvent (particularly for stopping), and it's very helpful to have when an error occurs.

Differential Revision: D85596621
@meta-codesync
Copy link

meta-codesync bot commented Oct 28, 2025

This pull request has been merged in 6854a90.

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