glossary

Experiments

Dark launch

A dark launch runs a new agent path in production while keeping that path inactive for users, so the path is exercised before exposure, unlike shadow testing where a candidate is scored on live inputs beside the incumbent.

Abracadabra Team Glossary

How it works

The new missed-delivery path is in the production build. It runs on live parcel events: it calls the depot service, builds the message, and records latency and errors. The customer still sees the old message. The point is to exercise the path before exposure, so a dead dependency shows up while nobody is reading the result. Tool calls that would notify a customer or write a case are stubbed, or the launch is no longer dark.

Dark launch is close to shadow testing and is not that practice. A dark launch means the code is in production and inactive for users. Shadow testing means a candidate is scored on live inputs beside the incumbent, and the score is the point. A dark launch can stop at “the path ran” without comparing quality. Showing a small share the new message is a canary. A path left unwired in the build never ran, so it is not a dark launch.

A worked example

Missed-delivery path runs, and nobody sees it

Example, not a measured result.
Parcel agent. The new missed-delivery path is deployed.
On each live event it calls the depot service and builds a message.
The customer still receives the old message. The new message is stored, not sent.
The notify tool and the case-write tool point at stubs.
In this example the path handles 500 events.
12 of them error on the depot call. Median latency on the rest is 400 milliseconds.
Stubbed notifies: 500. Customer-visible sends of the new message: 0.
The new message is not scored against the old one.
The run says the path executes. It does not say customers finish the task.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • A branch still shows the new message to some customers. The path is no longer inactive for users. What you have is a partial release, and a dark-launch chart that claims 0 exposure is wrong.
  • The path is dark to the customer and live to the tools. It opens cases and sends depot chasers. Inactive for users was taken to mean safe, and production writes still happened.
  • A clean dark launch is reported as a quality result. The path ran and the dependency answered. The new message was never scored beside the incumbent, so output quality is still an open question, which is what a shadow run is for.

How to measure it

Count events the dark path processed, errors, latency and stubbed writes, and count user-visible exposures of the new path. Exposure should be 0. Any non-zero exposure means the launch has stopped being dark.

Do not publish task success for a dark path as if people used it. When you later show the path, that exposure is a canary or an A/B test with its own outcome. If you need a score against the incumbent before then, run a shadow comparison on the outputs you stored.

Further reading

How Abracadabra helps

A dark path is invisible, so task success should not move. When the path is later shown, compare task success for that task and cohort with the previous period and read the conversations behind a drop.

Experimentation, canary releases and guarded rollouts are in early access. Today, compare task success before and after a change on the same task and cohort, and open the conversations behind a drop.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.