Skip to content

EngineFinishInfo

Namespace: E2E.Engine

public sealed record EngineFinishInfo : IEquatable<EngineFinishInfo>

The facts handed to an engine’s finish (CancellationToken)), once per run and target after the last worker is gone, with the cleanup budget of one hook. Upstream’s EngineFinishInfo.

Inheritance: object

Implements: IEquatable<EngineFinishInfo>

View source

public TimeSpan CleanupTimeout { get; init; }

The cleanup budget the host leaves this call: the finish hooks of every prepared target share one cleanupTimeout, so the host hands each what is left of it when the call starts and cancels the call’s token when it is spent. A hook that cannot finish in time stops instead of hanging the run; one that ignores the token is abandoned at the deadline with CLEANUP_TIMEOUT. Upstream’s timeoutMs.

Value: TimeSpan

View source

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

The run’s environment, the same prepare saw.

Value: IReadOnlyDictionary<string, string>

View source

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

Reports one line of progress, as Log does.

Value: Action<string>

View source

public required string RunId { get; init; }

The run id.

Value: string

View source

public required string TargetName { get; init; }

The target being finished.

Value: string

View source