Expand description
The decisions of one run, each with the input that gave it.
resolve_run takes the raw
fallow_config::RunInputs of one surface, loads and validates the
config, and decides the selection and the production mode of each analysis
and each run setting. The result is one ResolvedRun with a resolved
config per production mode.
Modules§
- steps
- The steps of a config load: validate, flatten the production mode, resolve with the environment, and collect the workspace metadata.
Structs§
- Audit
Base Decision - The base ref candidates of one audit.
- Base
Side - The base side of a comparison with a base ref.
- PerAnalysis
- One value for each analysis that has a production mode.
- Production
Inputs - The production inputs of one run, before the config. The config is a
separate argument of
decide_production. - 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. - RunSettings
- The settings of one run. Every mode entry of the run has these values.
- Runnable
- An analysis that runs. Only
ResolvedRun::analysismakes one, so a skipped analysis has no config and no session. - Type
Aware Config Input - The config input of
decide_type_aware. - Type
Aware Settings - The type-aware settings of one run.
Enums§
- Analysis
Slot - One analysis of a run: it runs, or the run skips it with a reason.
- Base
Config - Which config file the base side of a comparison with a base ref reads.
- Empty
Cause - What a run plan leaves out when it selects no analysis.
- Input
Field - The field of the run inputs that an input error names.
- Input
Problem - What is wrong with an input.
- Resolve
Error - The error of
resolve_run.
Functions§
- available_
threads - The default thread count of a run: the available parallelism of the host, else 1.
- decide_
audit_ base - Decide the base ref candidates of an audit from the run inputs. A run of another command has none.
- decide_
production - The production mode of each analysis, with the input that decides it.
- decide_
type_ aware - Decide the type-aware settings of a run of
commandfrom the given inputs, the environment snapshot and the config. - resolve_
base_ run - Resolve the base side of a comparison with a base ref: the inputs of
headon the base root, with the config file of theBaseConfigrule. The base run prints no progress. - resolve_
base_ run_ with_ head_ decisions - Resolve the base side of a comparison with a base ref as
resolve_base_rundoes, with the decisions ofheadfor the analyses: the base side runs each analysis that the head run runs, and no other, with the production mode of the head run. The config of the base side then cannot turn an analysis off or change a production mode, so the findings of the two sides compare. - resolve_
run - Resolve the raw inputs of one run.