Never film production: demo data for product demo videos
A demo video plays real gestures on a real app. Here is why we only film demo modes and test stacks, and how a reset command keeps every take clean.
A narrated demo is not a slideshow. Somebody, or something, really taps the buttons. Forms get filled and sent. A check gets run. An item gets deleted to show that deleting works.
Do that on production and the demo has side effects. A fake order lands in the real database. A welcome email goes to an address that isn't a test address. A real customer's name shows up on screen, in a video that will be shared in a Slack channel and maybe beyond.
So we set a rule on day one and never bent it: Pullscene never films the production of the app being demoed. It films a demo mode, or a test environment. This post is about what that means in practice, and the one lesson that taught us how much state matters.
Why a demo can't run on production
Three reasons, from the obvious to the less obvious.
Writes. The gestures are real. The rehearsal plays every scene once before recording, and the recording plays it again. A five-scene demo that creates something creates it at least twice. On production, that's junk data at best.
Privacy. A video is a copy of whatever was on screen. If the screen showed a real user list, the video now holds it, in every place the video goes. You can't take that back after the share link has been opened.
Stability. Production changes under you. A new item at the top of the list, a banner announcing maintenance, a different number than in the script. A demo needs a screen that looks the same every time it's played.
The answer to all three is the same: give the demo its own data, and its own copy of the app.
Demo mode: the best case
The simplest setup is an app that has a demo mode built in: an entry point that starts the app with fake, believable data and no backend writes.
Proofit, the Flutter app we filmed in our very first prototype, has one: a demo entry that runs the whole app on demo data, with no backend and no account. A circle of friends is already there, mid-week, and scenarios can jump to a fresh circle or the end of a week. That's what made the first video possible at all: we could tap anything, as many times as we needed, without a single real account noticing.
When an app has a demo entry, Pullscene's Flutter driver is started from it, on a copy of the branch. The driver is injected into that copy only, never into your repo.
If you're building an app and you think you'll ever want demo videos, screenshots for the stores, or end-to-end tests, a demo mode pays for itself many times over. It's one entry point and a set of fixtures.
A test stack: the usual case
Most web apps don't have a demo mode. They have a local or staging stack: the same code, its own database, fake accounts.
That's what we film. The plan points at its address, the browser opens there, and the app behaves exactly like production without being production. For Qelka, a web app with free validation tools, we film a local stack built like production, with its own local database.
Two details matter more than they seem:
- Prefer a production-like build. Development servers with hot reload sometimes behave differently: extra overlays, slower first loads, warnings in the corner. If the video is meant to show the real thing, film a real build.
- Seed the data the script expects. If the plan says "open the second project", there must be a second project. The model reads the code to write the script, but it can't invent rows in your database.
The lesson: state runs out
Our first Qelka recordings taught us something we hadn't planned for.
Qelka's free tools allow a fixed number of checks per day for each visitor, and that limit applies on the local stack too, since it runs the same code. We rehearsed. We fixed a gesture. We rehearsed again. Then we started the recording, and halfway through, the tool answered with a rate limit message instead of a result. Our own rehearsals had used up the day's quota.
Nothing was broken. The app did exactly what it should. But a video that shows "you've reached your limit" where the feature should be is a useless video.
Quotas are one kind of state. There are others: a user who has already completed onboarding, so the onboarding screen never appears again; a coupon that can only be used once; a list that grows by one item on every take until it no longer fits on the screen.
The reset command
Hence the reset: a shell command run before each rehearsal and before the recording. It puts the app back in a known state. Clearing the day's quota, reloading the seed data, deleting what the last take created: whatever your app needs.
With it, every pass starts from the same place. The rehearsal sees exactly what the recording will see, which is the whole point of rehearsing (more on that in Rehearse before you record).
One safety detail. The reset is a command that runs on the recording machine, so it is never taken from the script the model writes. It's configured by whoever runs Pullscene, per repository, and it always targets a local or test stack. A plan can ask for a clean state. It can't decide what command to run.
A checklist before your first video
- Does the app have a demo mode? Use it.
- If not, is there a local or staging stack with fake data? Point the video there.
- Does the script need specific data (a second project, a full list, an empty state)? Seed it.
- Does anything run out or change after one use (quotas, onboarding, one-time codes)? Write a reset.
- Is any real person's data visible anywhere on those screens? If so, you're not on a test stack yet.
None of this is specific to video. It's what a good end-to-end test setup needs too. The difference is that a test that leaks real data fails in a log nobody reads, while a demo that leaks it gets watched.
If you want to see what a clean take looks like, start from How to record a pull request demo.