Skip to main content

Module search_audit

Module search_audit 

Source
Expand description

Content-free execution facts for one search dispatch.

Arms are recorded when their futures run, even if they return no hits or degrade. This is separate from hit provenance and executed-work counters. Request-owned spawned children explicitly inherit the recorder; detached background work never does. Every dispatch masks its parent’s recorder.

Enums§

SearchArm
Retrieval arm that has started executing in this dispatch.

Functions§

inherit
Capture before spawning a request-owned child, and re-enter inside it. The returned future must be joined before the dispatch audit is produced.
record
Record an actual arm entry. No allocation or effect outside search dispatch.