Skip to content

EnginePrepareResult

Namespace: E2E.Engine

public sealed record EnginePrepareResult : IEquatable<EnginePrepareResult>

What prepare learned that the run must honour. Upstream’s EnginePrepareResult.

Inheritance: object

Implements: IEquatable<EnginePrepareResult>

View source

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

Variables every worker of this target is started with, on top of the run’s environment: how prepare hands what it provisioned (a device binding) to each worker’s start, in Env. The run’s own variables win on a clash.

Value: IReadOnlyDictionary<string, string>

View source

public int? Workers { get; init; }

Upstream’s contract: lowers the target’s worker cap for this run, 1 to Slots: the surfaces the engine actually provisioned, one per leased resource. Null when prepare bound nothing, so the declared cap stays. The standalone host of e2e explore and e2e mcp starts one worker and reads no cap. The port has no test runner to apply it, and no host in this repository reads it.

Value: int?

View source