// BLOG

/

Engineering

Replaying a run without running it twice

Daniel Osei

Head of Engineering

·

9 MIN

READ

WRITTEN BY

Daniel Osei

ALL POSTS

Replay lets you open any run, change one step and rerun from there. The hard part is making sure nothing before that step happens twice.

Store every step’s inputs

Each step writes its inputs and outputs to the run log. When you rerun from step four, steps one to three are read from the log instead of being called again.

Side effects are fenced

Anything that changes the outside world, like sending an email or updating a record, is marked as a side effect. Replay never repeats a side effect unless you ask it to.

What it costs

Storing inputs adds about 12 percent to storage per run. We keep logs 7 days on Starter and 90 days on Team, which keeps the cost predictable.

// GET STARTED

Hand over the first task today.

Three agents free. No card needed.

// GET STARTED

Hand over the first task today.

Three agents free. No card needed.

// GET STARTED

Hand over the first task today.

Three agents free. No card needed.

Create a free website with Framer, the website builder loved by startups, designers and agencies.