Files
e2e/docs/reference
Oskar Kwaśniewski aadcb5dddb feat(run)!: video modes on the config, targets, the CLI, and tests, with provider recordings (#610)
* feat(run)!: video modes on the config, targets, the CLI, and tests, with step captions

video: off | on | retain-on-failure | on-first-retry at the config root, per
target, --video [mode], and per test or describe, innermost winning.
artifacts.kinds: ['video'] and artifacts.video are removed. Kept recordings
get WebVTT step captions; a video can be a link to a hosted recording. The
engine contract's VideoSegment is a file or a link, and e2e/engine exports
the provider recording seam.

* feat(web): a browser provider records the attempts it serves, and the screencast takes a size and quality

BrowserProvider.record starts the service's own recording of the browser in
place of the page screencast. The session drives one AttemptVideo, the
screencast or the provider's. web({ video: { size, quality } }) tunes the
screencast.

* feat(mobile): a device provider records the attempts it serves

DeviceProvider.record starts the service's own recording of the leased
device in place of agent-device's. The worker learns its slot's lease id,
so record gets the lease as it traveled.

* feat(integrations): Kernel replays record the attempts that record video

* fix(run): captions never fail a video, provider values are normalized, and one list of modes

- Step captions create their directory and are best-effort.
- A provider's recording is checked at start in both engines and its URL
  and start time are stored in the shapes the report schema admits; the
  list reporter bounds a hosted URL.
- --video no longer hides an invalid target mode.
- A describe inside a serial group cannot set video.
- A mobile provider may keep its own leaseId field on a lease.

* fix(mobile): keep the lease type narrowed when checking its declared fields

* fix(run): MCP recordings get their step captions, a step spanning a restart is captioned in both recordings, and video.size refuses unknown keys

* fix: address review on the video API

- One stop in flight per provider recording, shared by a retry; mobile
  dispose stops it, and a cancelled operation never starts one.
- Kernel retries a failed download without stopping the replay twice.
- Links from any engine are held to an http(s) URL with a host; a file a
  provider names must be a regular file; media types are trimmed.
- web({ video }) takes a plain object only; the markdown page labels a
  hosted artifact by its kind.
- Tests: fixture byte totals, captions linked by id, temp directories
  removed, signals asserted, empty sizes, non-object options.
- Docs: engine support qualified, the explore row, the standalone preflight,
  caption status text, a checked stop in the provider example.

* fix(run): a bad engine video link costs no other recording, captions path per recording in debugging guide

* test: fake engine video links doc matches segment order

* fix(mcp): session recordings follow video modes and list a provider's link

* test(web): provider test's fake page reports its viewport

* refactor(run): drop step captions from the video API, tracked in #636

* fix(web): a late provider start never replaces a newer recording, abandon keeps a failed stop's handle, video.size must be a plain object; provider recording errors and hosted URLs bounded
2026-09-29 15:24:26 +02:00
..