Skip to content

E2E.Reports

API reference

Public types in the E2E.Reports namespace.

Type Summary
AppLogRecord One line the app logged (upstream’s AppLogRecord).
ArtifactProducer Who made an artifact (upstream’s ArtifactRecord[‘producer’]).
ArtifactRecord A file or link an attempt kept (upstream’s ArtifactRecord, run/records.ts).
CacheRecordedBy The model that recorded a cache entry.
FailureEvidence What the runner saw when a failure landed (upstream’s FailureEvidence).
HookScope The tests a hook failure leaves unverified (upstream’s HookScope).
Report The report-1 document, the shape Report() returns and report.json holds (upstream’s Report, an alias of Report1Document, report/build.ts). A report is a record of what happened. Changing it changes nothing, and a caller that wants the document as JSON reads report.json. The port has no serial groups and no carried block, so the document has neither.
ReportAttempt One attempt of a test (upstream’s ReportAttempt).
ReportChanges The change a run’s test filters judged, by counts only, or why no filter ran (upstream’s ReportChanges): Base and Files once git measured the change, Skipped alone when no filter ran before git was asked.
ReportEngine The engine a target runs on (upstream’s ReportTarget[‘engine’]).
ReportEnvironment What a run ran on (upstream’s run.environment).
ReportError An error as a report tells it: the serialized error without its stack (upstream’s ReportError).
ReportFilter One test filter the run applied, in order (upstream’s ReportFilter).
ReportLimits The limits the run ran under (upstream’s ReportLimits).
ReportProject The project a run belongs to (upstream’s run.project).
ReportResult One test over all its attempts (upstream’s ReportResult).
ReportRun The run of a report: its id, the targets it ran on, the results, and the counts (upstream’s Report1Document[‘run’]).
ReportRunner The runner that made a report (upstream’s run.runner).
ReportSource A line in a file of the project (upstream’s ReportSource).
ReportStep One call of the test (upstream’s ReportStep).
ReportSummary The run’s counts by result (upstream’s ReportSummary). Passed, Failed (timed out included), Interrupted, Flaky, and Skipped count selected results only and add up to Selected.
ReportTarget One target of the run (upstream’s ReportTarget).
ReportUsage What the run used, against ReportLimits (upstream’s ReportUsage).
SkipInfo Why a test or an attempt skipped (upstream’s SkipInfo).
StepCacheRecord How an agent step used the cache (upstream’s StepCacheRecord).
StepEvent One thing a step did (upstream’s StepEvent).
StepMetrics What an agent step used (upstream’s StepMetrics).
StepModelInfo The model an agent step called and what it cost (upstream’s StepModelInfo).
StepScreen How the screen a step saw differs from the one before (upstream’s StepScreen).
StepTurn One turn of an agent step (upstream’s StepTurn).
StepViewport The viewport a step ran in.
VcsInfo Where the code under test came from (upstream’s VcsInfo, internal/vcs.ts).
ViewportSize The size of a viewport in pixels (upstream’s inline FailureEvidence[‘viewport’]).
Type Summary
AppLogLevel How serious an app log line is.
AppLogSource Where an app log line came from.
ArtifactCapability What an engine can capture.
ArtifactKind What kind of file an artifact is.
ArtifactProducerKind Whether a step or the attempt made an artifact.
ArtifactRedaction Whether every secret was proven out of an artifact.
AttemptCleanup How an attempt’s teardown ended.
AttemptStatus How an attempt ended.
CacheDerived What a replayed action found its target by.
CacheMissReason Why a cached step did not replay.
CacheMode How an agent step used the cache.
CacheNotRecorded Why a recording was not kept.
CacheWrite What happened to the cache entry after the step.
ErrorCategory Whose fault an error is.
ErrorPhase The part of a run an error came from.
FilterOutcome Why a filter left nothing out without answering (upstream’s FilterOutcome).
PolicyDecision Whether a policy allowed a proposal.
ResultKind Whether a result is a test or a setup.
ResultStatus How a test ended, over all its attempts.
SkipCause The cause of a skip.
StepEventKind What kind of thing a step event records.
StepEventStatus How a step event ended.
StepKind What kind of call a step is.
StepPhase The hook a step ran in; a step of the test body has none.
StepStatus How a step ended.
TargetEnvironment What the app a target tests is.
TokenAccounting How a model call counted its tokens.
VisionDegradation Why a step’s pixels were not trusted.