Skip to content

CacheEntry

Namespace: E2E

public sealed class CacheEntry

A recording of one verified act. Its file name is the hash of a trace cache key (TraceCacheKeyHash): the cache schema, the replay policy version, the project, the test, the target, the engine’s name and contract version, the app’s identity, the instruction’s and params’ digests, the agent’s name, a digest of the agent’s redacted context, and which repeat of that same call in the attempt it is. The model id and the engine’s package version are not part of the key.

Inheritance: object

View source

public List<RecordedAction> Actions { get; set; }

Value: List<RecordedAction>

View source

public string? Agent { get; set; }

Name of the configured agent the step ran with. A secret value in it is masked.

Value: string

View source

public List<RecordedTarget> Appeared { get; set; }

Nodes on screen when the step passed and not when it began (Anchors).

Value: List<RecordedTarget>

View source

public int? CallIndex { get; set; }

Zero-based repeat of the step among identical acts in the attempt.

Value: int?

View source

public string? EndRoute { get; set; }

Value: string

View source

public string? Engine { get; set; }

The engine platform the step ran on. Null on an entry recorded before it was stored.

Value: string

View source

public List<RecordedTarget> Gone { get; set; }

Nodes on screen when the step began and gone when it passed.

Value: List<RecordedTarget>

View source

public string? Instruction { get; set; }

Value: string

View source

[JsonConverter(typeof(KeyContextConverter))]
public TraceKeyContext? KeyedBy { get; set; }

Upstream’s keyedBy: the parts of the key outside the step itself, as they were when it was recorded. Provenance, never read by a replay: when a step’s key no longer finds this entry, comparing it with the run’s says what changed. Null on an older entry.

Value: TraceKeyContext

View source

public string? ParamsDigest { get; set; }

SHA-256 of the params as the key holds them, a placeholder for each unique value.

Value: string

View source

[JsonConverter(typeof(OptionalTextConverter))]
public string? RecordedBy { get; set; }

The configured model that recorded the step, as Name spells it (provider and model id together). Null on an entry recorded before it was stored, or by an agent with no configured model. It never keys the entry.

Value: string

View source

public string? Route { get; set; }

Value: string

View source

public int Schema { get; set; }

Value: int

View source

public string? Test { get; set; }

The test title. A secret value in it is masked.

Value: string

View source