Expand description
Process-wide admission and scheduling for the optional parser-pack worker.
StructsΒ§
- Optional
Parser πGroup Lease - Panic-safe process-global optional-group activity signal.
- Optional
Parser πRuntime - Synchronous coordinator protected for exactly one optional job group at a time.
EnumsΒ§
- Optional
Parser πRuntime State - Closed process-wide optional parser state.
ConstantsΒ§
- BUILT_
IN_ πPARSE_ BATCH_ SIZE - Maximum built-in jobs retained in one Rayon result batch.
- OPTIONAL_
PARSE_ πNO_ PROGRESS_ TIMEOUT - Maximum interval without identity-validated worker progress.
- OPTIONAL_
PARSE_ πTIMEOUT - Per-file ceiling proven by the fresh-artifact release verifier.
- OPTIONAL_
RUNTIME_ πADMISSION_ POLL - Cooperative polling interval while another project owns optional parsing.
StaticsΒ§
- OPTIONAL_
PARSER_ πDEACTIVATION_ REQUESTED - Whether an inactive project requested cleanup while another project held the worker lease.
- OPTIONAL_
PARSER_ πGROUP_ ACTIVE - Whether the process-global coordinator is inside one optional parsing group.
- OPTIONAL_
PARSER_ πRUNTIME - One process-wide optional worker owner shared by CLI, watcher, and MCP paths.
FunctionsΒ§
- combine_
optional_ πoperation_ and_ cleanup - Preserve both an operation failure and a mandatory process-cleanup failure.
- deactivate_
if_ πinitialized - Request cleanup without making default-core wait behind an active optional group.
- ensure_
selection_ πcurrent - Revalidate the project-local selection immediately before optional source admission.
- lock_
optional_ πruntime - Acquire the one process-global owner without hiding cancellation behind a blocking lock.
- lock_
runtime π - Poll one concrete coordinator lock under the callerβs cancellation and deadline.
- optional_
language_ πid - Return the canonical optional grammar identity for one registry-owned job.
- optional_
parse_ πdeadline - Bound one worker request by both the operation deadline and the proven file ceiling.
- parse_
built_ πin_ jobs - Parse non-optional jobs without changing the existing Rayon ownership.
- parse_
symbol_ πjobs_ controlled - Parse built-in jobs in Rayon and accepted optional jobs in deterministic grammar/path order.
- retain_
runtime_ πafter_ parser_ failure - Quarantine one concrete execution owner only when the supervisor reports uncertain cleanup.
- runtime_
unavailable_ πerror - Construct the stable refusal used after cleanup uncertainty or lock poisoning.
- service_
pending_ πdeactivation - Apply one pending cleanup transition while the caller owns the process-global state.
- sort_
optional_ πjobs - Keep each grammar contiguous and paths stable inside its worker session.
- supervisor_
error π - Preserve task cancellation and deadline state across the supervisor boundary.
- terminal_
parse_ πoutcome - Return whether later jobs must not start after this outcome.