Skip to content

integration test proving NI-2/NI-3: actor supervision children coexist with proc membership (#3355)#3355

Open
shayne-fletcher wants to merge 3 commits intometa-pytorch:mainfrom
shayne-fletcher:export-D99456727
Open

integration test proving NI-2/NI-3: actor supervision children coexist with proc membership (#3355)#3355
shayne-fletcher wants to merge 3 commits intometa-pytorch:mainfrom
shayne-fletcher:export-D99456727

Conversation

@shayne-fletcher
Copy link
Copy Markdown
Contributor

@shayne-fletcher shayne-fletcher commented Apr 3, 2026

Summary:

this diff adds a live integration proof for the mesh-admin supervision invariants over the existing Rust sieve workload. it extends mesh_admin_integration with a new supervision.rs scenario that launches sieve, discovers a concrete proc -> actor A -> actor B chain, and proves the two intended facts together: actor-to-actor supervision edges and proc-to-actor membership edges coexist in children, while resolving B still yields parent = Some(NodeRef::Proc(...)) rather than the supervising actor.

it also wires the new proof into the integration suite by adding the sieve binary as a Buck resource, exposing it from the test harness, and registering the new MIT-71 / MIT-72 invariants and test entrypoint in main.rs. the test is kept typed internally, filters explicitly to sieve actors, and uses bounded readiness/retry constants so the proof remains focused on the NI-2 / NI-3 contract rather than incidental topology details.

Differential Revision: D99456727

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 3, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 3, 2026

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

@meta-codesync meta-codesync bot changed the title integration test proving NI-2/NI-3: actor supervision children coexist with proc membership integration test proving NI-2/NI-3: actor supervision children coexist with proc membership (#3355) Apr 3, 2026
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Apr 3, 2026
…t with proc membership (meta-pytorch#3355)

Summary:

this diff adds a live integration proof for the mesh-admin supervision invariants over the existing Rust sieve workload. it extends mesh_admin_integration with a new supervision.rs scenario that launches sieve, discovers a concrete proc -> actor A -> actor B chain, and proves the two intended facts together: actor-to-actor supervision edges and proc-to-actor membership edges coexist in children, while resolving B still yields parent = Some(NodeRef::Proc(...)) rather than the supervising actor.

it also wires the new proof into the integration suite by adding the sieve binary as a Buck resource, exposing it from the test harness, and registering the new MIT-71 / MIT-72 invariants and test entrypoint in main.rs. the test is kept typed internally, filters explicitly to sieve actors, and uses bounded readiness/retry constants so the proof remains focused on the NI-2 / NI-3 contract rather than incidental topology details.

Differential Revision: D99456727
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Apr 3, 2026
…t with proc membership (meta-pytorch#3355)

Summary:

this diff adds a live integration proof for the mesh-admin supervision invariants over the existing Rust sieve workload. it extends mesh_admin_integration with a new supervision.rs scenario that launches sieve, discovers a concrete proc -> actor A -> actor B chain, and proves the two intended facts together: actor-to-actor supervision edges and proc-to-actor membership edges coexist in children, while resolving B still yields parent = Some(NodeRef::Proc(...)) rather than the supervising actor.

it also wires the new proof into the integration suite by adding the sieve binary as a Buck resource, exposing it from the test harness, and registering the new MIT-71 / MIT-72 invariants and test entrypoint in main.rs. the test is kept typed internally, filters explicitly to sieve actors, and uses bounded readiness/retry constants so the proof remains focused on the NI-2 / NI-3 contract rather than incidental topology details.

Differential Revision: D99456727
Summary:

pesky lints. we hates them precious.

Differential Revision: D99460173
…eta-pytorch#3353)

Summary:

this diff adds the monarch_introspection_snapshot conversion layer from typed mesh-admin NodePayload values into the normalized snapshot row schema. it introduces convert.rs, with a typed ConvertedNode / NodeKindRow algebra, one conversion entry point for all node variants, link-level child classification, fallible time conversion to microseconds, and focused conversion tests covering subtype selection, failure projection, child ordering, child classification, and the fact that parent is not materialized into the snapshot schema.

it also tightens and corrects the source invariants in hyperactor_mesh that the snapshot projection depends on. in particular, it fixes the navigation docs to distinguish canonical containment parent from the admin navigation graph, records the link-classification invariants for system_children and stopped_children, removes stale root-node documentation, and adds assertions for the root and host empty-classification cases. the snapshot schema docs are updated to explain that ChildRow models the admin navigation graph rather than a strict tree, and the snapshot crate docs and BUCK deps are updated accordingly.

Differential Revision: D99452318
…t with proc membership (meta-pytorch#3355)

Summary:

this diff adds a live integration proof for the mesh-admin supervision invariants over the existing Rust sieve workload. it extends mesh_admin_integration with a new supervision.rs scenario that launches sieve, discovers a concrete proc -> actor A -> actor B chain, and proves the two intended facts together: actor-to-actor supervision edges and proc-to-actor membership edges coexist in children, while resolving B still yields parent = Some(NodeRef::Proc(...)) rather than the supervising actor.

it also wires the new proof into the integration suite by adding the sieve binary as a Buck resource, exposing it from the test harness, and registering the new MIT-71 / MIT-72 invariants and test entrypoint in main.rs. the test is kept typed internally, filters explicitly to sieve actors, and uses bounded readiness/retry constants so the proof remains focused on the NI-2 / NI-3 contract rather than incidental topology details.

Differential Revision: D99456727
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Apr 3, 2026
…t with proc membership (meta-pytorch#3355)

Summary:

this diff adds a live integration proof for the mesh-admin supervision invariants over the existing Rust sieve workload. it extends mesh_admin_integration with a new supervision.rs scenario that launches sieve, discovers a concrete proc -> actor A -> actor B chain, and proves the two intended facts together: actor-to-actor supervision edges and proc-to-actor membership edges coexist in children, while resolving B still yields parent = Some(NodeRef::Proc(...)) rather than the supervising actor.

it also wires the new proof into the integration suite by adding the sieve binary as a Buck resource, exposing it from the test harness, and registering the new MIT-71 / MIT-72 invariants and test entrypoint in main.rs. the test is kept typed internally, filters explicitly to sieve actors, and uses bounded readiness/retry constants so the proof remains focused on the NI-2 / NI-3 contract rather than incidental topology details.

Differential Revision: D99456727
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Apr 3, 2026
…t with proc membership (meta-pytorch#3355)

Summary:

this diff adds a live integration proof for the mesh-admin supervision invariants over the existing Rust sieve workload. it extends mesh_admin_integration with a new supervision.rs scenario that launches sieve, discovers a concrete proc -> actor A -> actor B chain, and proves the two intended facts together: actor-to-actor supervision edges and proc-to-actor membership edges coexist in children, while resolving B still yields parent = Some(NodeRef::Proc(...)) rather than the supervising actor.

it also wires the new proof into the integration suite by adding the sieve binary as a Buck resource, exposing it from the test harness, and registering the new MIT-71 / MIT-72 invariants and test entrypoint in main.rs. the test is kept typed internally, filters explicitly to sieve actors, and uses bounded readiness/retry constants so the proof remains focused on the NI-2 / NI-3 contract rather than incidental topology details.

Differential Revision: D99456727
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Apr 3, 2026
…t with proc membership (meta-pytorch#3355)

Summary:

this diff adds a live integration proof for the mesh-admin supervision invariants over the existing Rust sieve workload. it extends mesh_admin_integration with a new supervision.rs scenario that launches sieve, discovers a concrete proc -> actor A -> actor B chain, and proves the two intended facts together: actor-to-actor supervision edges and proc-to-actor membership edges coexist in children, while resolving B still yields parent = Some(NodeRef::Proc(...)) rather than the supervising actor.

it also wires the new proof into the integration suite by adding the sieve binary as a Buck resource, exposing it from the test harness, and registering the new MIT-71 / MIT-72 invariants and test entrypoint in main.rs. the test is kept typed internally, filters explicitly to sieve actors, and uses bounded readiness/retry constants so the proof remains focused on the NI-2 / NI-3 contract rather than incidental topology details.

Differential Revision: D99456727
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant