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>
Constructors
Section titled “Constructors”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. |
Properties
Section titled “Properties”ReplayedActions
Section titled “ReplayedActions”public IReadOnlyList<string> ReplayedActions { get; init; }Prose summaries of the actions the replay performed, in order.
Value: IReadOnlyList<string>
StopReason
Section titled “StopReason”public ReplayHandOffReason StopReason { get; init; }Why the replay stopped.
Value: ReplayHandOffReason
TotalActions
Section titled “TotalActions”public int TotalActions { get; init; }How many actions the recording holds.
Value: int
UncertainAction
Section titled “UncertainAction”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