probe_optional_parser_memory_boundary

Function probe_optional_parser_memory_boundary 

Source
pub fn probe_optional_parser_memory_boundary(
    pack_root: impl AsRef<Path>,
    logical: &OptionalParserPackManifest,
) -> Result<ParserPackMemoryProbe, ParserSupervisorError>
Expand description

Exercise the exact packaged worker under a deliberately reduced memory ceiling.

Release verification first admits every grammar under the production ceilings. This differential probe then reuses the same supervisor and platform adapter with a smaller ceiling, requires the OS-specific memory failure, and accepts the result only when mandatory process-tree cleanup also succeeds.

ยงErrors

Returns the first artifact, containment, protocol, cleanup, or unexpected probe outcome.