Solutions · Preview & test environments

Give every change a place to prove itself.

Plan isolated environments for review, debugging and testing. Keep the application structure familiar while giving each environment its own configuration and lifecycle.

One environment per pull request
  • #142fix/checkout-tax

    pr-142.preview.example.app

    Pull request #142, branch fix/checkout-tax: preview live for review.
  • #145feat/team-invites

    pr-145.preview.example.app

    Pull request #145, branch feat/team-invites: preview being created.
  • #139chore/upgrade-orm

    pr-139.preview.example.app

    Pull request #139, branch chore/upgrade-orm: preview deleted after merge.
Each preview gets an owner, a daily cap and an end date the day it is created.Illustrative · intended lifecycle, sample branches
Isolation
A namespace per environment
Data
Seeded or sanitised, never production
Lifecycle
Owner and end date set up front
Status
Lifecycle controls confirmed at onboarding

The problem

Shared staging is where reviews go to wait.

One staging environment means queues, collisions and a cleanup nobody owns. An environment per change fixes the review, as long as each one has a template, a budget and an end date.

  • Without: Three branches take turns on one staging.

    With Kapten: Each change reviewed in its own isolated environment.

    BosunInfrastructure
  • Without: Reviews run against a copy of production data.

    With Kapten: Seeded fixtures and preview-only secrets.

    WardenSecurity review
  • Without: Reviewers test the API without the worker it calls.

    With Kapten: A preview shape with every service the change needs.

    NavigatorArchitecture
  • Without: Forgotten previews billed for a month.

    With Kapten: A daily cap, sleep when idle, deletion planned at the start.

    PurserCost

How it works

Make environment ownership explicit.

  1. Review the whole application

    An API change often depends on a worker, a database or a frontend. Define the services needed to exercise the change together.

  2. Use data meant for testing

    Choose seeded or sanitised data and environment-specific secrets. A review deployment should not need production credentials to be useful.

  3. Set the end date at the start

    Assign an owner and a cleanup rule. Include compute, storage and external resources when deciding what should happen after review.

Workflows

Start from a recipe built for this.

Each workflow names the specialists it brings in and where it stops to ask you. Copy the prompt into your agent, or read the run step by step.

All workflows

The crew on this job

Who does what, for you.

Every specialist has a narrow job and a boundary. Nothing reaches your account without a plan you approved.

Meet all eight specialists

FAQ

A few practical questions.

Can I use this for staging as well?

Yes, staging follows the same environment model but usually has a longer lifecycle. Keep its configuration and access separate from production.

Will deleting an environment remove everything?

Confirm the deletion policy for each resource, especially persistent data and services outside the cluster. Your cleanup plan should explicitly cover what is retained.

Does a preview get created on every pull request today?

That is the intended workflow. Pull-request automation and scheduled shutdown are part of early access and may not be available for every project yet. We confirm which lifecycle controls you get during onboarding.

Keep exploring

See how it fits together.

Build with Kapten

Start with one service.
Build from there.

Tell us what you want to deploy. We review each request and follow up about fit and onboarding on your preferred cloud.

Free during early access. No card required. Cloud usage billed separately.