Skip to content

ReplayedPrefix

Namespace: E2E

public sealed record ReplayedPrefix : IEquatable<ReplayedPrefix>

Upstream’s ReplayedPrefix: the mid-step hand-off from a diverged cache replay. The replayed actions already ran against the live app under the same budgets and recording as the executor’s own. The executor continues the step from the current state and does not redo them.

Inheritance: object

Implements: IEquatable<ReplayedPrefix>

View source

ReplayedPrefix(IReadOnlyList<string>, int, ReplayHandOffReason, string?)

Section titled “ReplayedPrefix(IReadOnlyList<string>, int, ReplayHandOffReason, string?)”
public ReplayedPrefix(IReadOnlyList<string> ReplayedActions, int TotalActions, ReplayHandOffReason StopReason, string? UncertainAction = null)

Upstream’s ReplayedPrefix: the mid-step hand-off from a diverged cache replay. The replayed actions already ran against the live app under the same budgets and recording as the executor’s own. The executor continues the step from the current state and does not redo them.

Parameters

Name Type Description
ReplayedActions IReadOnlyList<string> Prose summaries of the actions the replay performed, in order.
TotalActions int How many actions the recording holds.
StopReason ReplayHandOffReason Why the replay stopped.
UncertainAction string Present exactly when <code class=“paramref”>StopReason</code> is ActionUncertain: the summary of a replayed action whose input may have reached the app although it failed. The executor verifies the state before it tries anything like it again.

View source

public IReadOnlyList<string> ReplayedActions { get; init; }

Prose summaries of the actions the replay performed, in order.

Value: IReadOnlyList<string>

View source

public ReplayHandOffReason StopReason { get; init; }

Why the replay stopped.

Value: ReplayHandOffReason

View source

public int TotalActions { get; init; }

How many actions the recording holds.

Value: int

View source

public string? UncertainAction { get; init; }

Present exactly when <code class=“paramref”>StopReason</code> is ActionUncertain: the summary of a replayed action whose input may have reached the app although it failed. The executor verifies the state before it tries anything like it again.

Value: string

View source