Expand description
Shared container state: lock files, per-process resource registry, and stale-process pruning.
Test binaries from several processes may share one reusable container. The state file records which process created which resources (for example per-test databases), so a later run can clean up resources whose owner process already exited. During nextest runs, dead process entries remain associated with the current run until a later run can reclaim them without interleaving destructive cleanup with active schema provisioning.
Structs§
- Container
Lease - Lease that prunes reclaimable process entries from a service’s state file on drop.
- Container
State Lock - Exclusive filesystem lock guarding one service’s state file.
- Shared
Container Endpoint - Last verified endpoint of one reusable suite container.
- Shared
Container State - Serializable registry of test processes and the resources they created.