Skip to main content

Module supervision

Module supervision 

Source
Expand description

Messages used in supervision of actor meshes.

§Mesh-name propagation

When a MeshFailure is constructed for a supervision event whose constructing site has the mesh name locally in scope, the mesh name is carried on MeshFailure.actor_mesh_name. The constructing site does not perform a lookup to obtain the mesh name; if the mesh name is not locally available at the site, None is correct. MeshFailure::Display surfaces the mesh name as an on mesh "{name}" segment when actor_mesh_name is populated; stable identifiers continue to appear in detail segments where the renderer already includes them. Python-binding-specific plumbing for this carrier — how a Python-spawned actor ends up with a mesh base-name string to supply — lives in monarch_hyperactor/src/actor.rs (PythonActorParams.mesh_base_name).

Structs§

MeshFailure
Message about a supervision failure on a mesh of actors instead of a single actor.