Expand description
One resolved run for each programmatic call.
Each typed runner that loads a config calls resolve_programmatic_run
once with its own ProgrammaticEntry. The resolver loads and validates
the config, decides the selection and the production mode of each
analysis, and resolves one config for each production mode. The runner
opens each session from that run, so the analyses of one call share one
config load.
Structs§
- EnvSnapshot
- The values of every
EnvVarand the current directory of one run. - Host
Inputs - The inputs of a host that starts runs without a command, such as a session store of the language server.
- Resolved
Run - Every decision of one run, with its cause. The fields are private and the
type has no
Default, noCloneand no&mut selfmethod, so a run stays as the resolver made it. - Runnable
- An analysis that runs. Only
ResolvedRun::analysismakes one, so a skipped analysis has no config and no session.
Enums§
- Analysis
Slot - One analysis of a run: it runs, or the run skips it with a reason.
- Command
Kind - The command of a run. There is one variant per distinct rule for the environment variables and for the selection of analyses.
- EnvVar
- An environment variable that changes a run decision.
- Programmatic
Entry - The typed runner that starts a run. Each entry maps to one
CommandKindand oneSelectionInput. - Resolve
Error - The error of
resolve_run. - Selection
Input - How a run selects its analyses.
- Surface
- The surface that starts a run.
Functions§
- resolve_
programmatic_ run - Resolve the run of one programmatic call.
- resolve_
run - Resolve the raw inputs of one run.