See every pull request running before you merge it
SEB builds a live copy of your site for each pull request, with a copy of your real database, and posts the link on the pull request. Reviewers click it and try the change. Nobody sets anything up.
Works with GitHub. Builds PHP (Drupal, Laravel, WordPress), Rails, Django and Node.
acme / shop
Add gift cards at checkout #42
Open
jrowe pushed 3 commits
SEB commented
Building a preview with a copy of the base database...
SEB / Preview running
SEB / Tests running
What happens when someone opens a pull request
-
SEB sees it
Install SEB's GitHub app on your organisation. From then on, every pull request in the repositories you pick gets a preview. A new push updates it.
-
It builds from your config
A config file in the repository says which services to run and what to run in them. The database starts as a copy of a base preview built from your main branch, so a preview is ready in seconds, not minutes.
-
The link lands on the pull request
SEB comments with the address and adds a check to the commit. If the build fails, the check says which step failed and shows its output.
-
It sleeps until it is needed
A preview nobody has visited for a while stops, so it costs nothing to keep. The next visit wakes it. Merging or closing the pull request removes it.
It runs the stack you already have
Each service is a Docker image: PHP with Apache, MySQL, Postgres, Node, Ruby, Python, Redis, a headless browser for PDFs. Your commands install and build it, the same way your team does by hand.
A pull request gets its own copy of the database, taken from the base preview, so reviewers see real content. Heavy services such as Elasticsearch can be shared across your organisation instead of running one per preview.
Every preview catches the email it sends, so a password reset link is one click away and no real customer is ever emailed from a test.
shared:
elasticsearch:
image: elasticsearch:7.17.28
services:
php:
image: php:8.3-apache
default: true
depends: mysql
commands:
build:
- composer install
- vendor/bin/drush deploy
mysql:
image: mysql:8.0
$ seb status
acme/shop#42 failed build 7
Failed step: php build: composer install
| Your lock file is out of date with
| composer.json. Run composer update.
$ seb logs -f log/development.log -n 3
Started GET "/checkout" for 10.64.0.2
Completed 500 in 41ms
NoMethodError: undefined method `gift_card'
When it breaks, it shows you where
- The build log puts the failing step first, with the end of its output, where the error usually is.
- Container logs and your app's own log files, such as Rails's development log, are on the preview's page, live.
- Open a terminal in the browser, or SSH in with your own key, to look around inside a running preview.
- Your GitHub Actions workflows can run inside the preview, against the built site, and report back as checks on the pull request.
Use it from wherever you already work
- The pull request
- The link, the status and the failing step are on the pull request, where reviewers already are. Nobody has to learn a new tool to review a change.
- Your terminal
- The seb command lists previews, shows logs, rebuilds and wakes them, and starts a branch with a draft pull request in one step. It keeps itself up to date.
- Claude
- Connect Claude and ask why a build failed, or have it write a config and check it with SEB before you push. It acts as you, with your access and no more.
Private unless you say otherwise
Previews sit behind a password, or your office's addresses. Access to SEB follows your GitHub roles. Secrets never show in logs. Each preview is on its own network and cannot reach another.
Built by an agency that ships client sites every day
Full Fat Things made SEB for our own Drupal, Laravel and Rails projects, and every pull request we open is reviewed on it. If your team reviews changes by reading diffs and hoping, we would like to show you what it looks like instead.
Book a walk-through