Skip to content

EngineDoctorInfo

Namespace: E2E.Engine

public sealed record EngineDoctorInfo : IEquatable<EngineDoctorInfo>

The facts handed to an engine’s doctor (DoctorAsync), once per target in the process e2e doctor runs in. Upstream’s EngineDoctorInfo; its signal is the CancellationToken of the call.

Inheritance: object

Implements: IEquatable<EngineDoctorInfo>

View source

public required EngineAppInfo App { get; init; }

The app the target declares.

Value: EngineAppInfo

public required IReadOnlyDictionary<string, string?> Env { get; init; }

The environment a run would start with.

Value: IReadOnlyDictionary<string, string>

public required bool Headed { get; init; }

Whether the run would show the surface (--headed).

Value: bool

public required Action<string> Log { get; init; }

Reports one line of progress; e2e doctor prints it to stderr.

Value: Action<string>

public required string ProjectRoot { get; init; }

The directory relative paths in the config resolve against, as ProjectRoot.

Value: string

public CancellationToken Signal { get; init; }

Upstream’s signal: aborts when the host abandons the call. Set when the info crosses the engine protocol; a hook the host calls in process takes its own token, and this stays the default, never canceled.

Value: CancellationToken

public required string TargetName { get; init; }

The target being checked.

Value: string