Use case · Developers

Investigate after a release

A release went out and something broke. The question is not only what failed but which change made it fail. Here is a routine for answering that, and how ServerFlock's evidence-first approach fits in.

Updated

Take a baseline before the release

You cannot say a release made things slower if you never measured how fast they were. A baseline is a short list of numbers and facts you record just before you deploy, so you have something to compare against afterwards.

  • The status code and response time of the pages that matter: home, login, one API endpoint.
  • Certificate expiry date and the address the domain resolves to.
  • Host readings: load, available memory (not just "free"), disk use on the data volume.
  • The version currently running, such as a git commit or a release folder name.

In the first release, website checks and host readings are designed to be kept with the time they were taken, from your computer. Take a reading, deploy, take another. That is the whole baseline, and it is enough to separate "slow since 14:05" from "always slow".

The version itself you can read in the terminal, for example the commit checked out in the release directory or the target of a "current" symlink, and confirm file timestamps through file transfer.

Tie the failure to a version

When errors appear, line three things up on one timeline: when the release finished, when the first failure happened, and what the server was doing in between. If errors begin before the release finished, the release is probably not the cause.

Before and after · sample data
Before 14:05After 14:05
Version4f2c1a9b7e03
GET /login 200 · 180 ms 500 · 90 ms
GET / 200 · 210 ms 200 · 220 ms
Available memory5.1 GB5.0 GB
Disk /var62%62%

Concept · sample data

In this sample only one route changed, the host is healthy, and the failure is fast, which suggests the application is returning an error quickly rather than running out of resources. That narrows the search to the diff between the two versions and to the application log for that route.

Ask for evidence, not a verdict

Paste the error and the timeline into the AI assistant and ask what it can see. The assistant is designed to answer from readings and log lines it can point to, so you can check each one. Fields are redacted before anything is sent to the model, and the first release uses your own API key. See how data and credentials are handled.

What to read in the logs

  • The first error after the release time, not the loudest one. Later errors are often side effects.
  • Whether the same stack trace repeats, or several different ones appear.
  • Web server log lines for the failing route, to see whether requests reached the application at all.
  • Configuration and environment differences: a new variable that is missing on this server, a file mode, a changed path.

If the failure involves data, database views are planned for later, over an SSH tunnel with a read-only account. For now, a migration that has run is something to confirm in your own tooling.

Verify the recovery

Whatever you do next, whether it is a rollback, a hotfix or a config change, treat the recovery as a test with a pass condition. Re-run the same checks you took as the baseline, on the same routes, and compare.

  1. Confirm which version is now running, from the server, not from memory.
  2. Repeat the baseline readings and check them against the "before" column.
  3. Watch for a few minutes. A cache or a worker pool can hide a problem for the first requests.
  4. Write one line saying which change caused the failure and how you know.

If you roll back across a database migration, the old code may not work with the new schema. Decide that before you roll back, not after.

Where ServerFlock helps today and what comes later

The first release helps with the observing half of this routine: timestamped HTTP and TLS checks, host readings over SSH, a terminal, file transfer and a read-only AI assistant. Container and database views, deploy automation, plan-based fixes, and connections to other tools (see integrations) come after that. If you are weighing a self-hosted deploy platform, read the comparison with Coolify: it is the better fit when your main need is building and deploying apps.

Once the release is live, monitoring keeps the same readings coming; database and container views are planned too, and the privacy page says where data stays. The same evidence, handed to a teammate on call, is the subject of handing over an incident. For the outage that has nothing to do with a release, see finding out why a site is down, and for the whole product, the feature overview.

Questions

Does ServerFlock deploy my code?

Not in the first release. Automated deployment with health checks and rollback is planned for a later version (see deployments). The first release helps you observe and investigate a release you made with your own tools.

Can it show me Docker container logs?

Container views, using the Docker command line that is already on your server over SSH, are coming soon. Until then you can read logs in the terminal.

Will it roll back a bad release for me?

Not in the first release. The AI is read-only there. Later versions are designed to propose a rollback as a plan that you approve, with extra confirmation for risky steps. A database migration needs its own recovery plan, so it is never treated as a simple undo.

How does the baseline get recorded?

The first release keeps HTTP, TLS and host readings with timestamps on your computer. Because the checks run from your computer, gaps while it sleeps are shown as gaps.

Launch notice

Be first to try ServerFlock.

ServerFlock is in development for Windows, macOS and Linux. Leave an email and we will write once, when the first build is ready.

Your desktop
Servers you look after
You are mostly a

One email at launch, plus a reply if you ask a question. No newsletter. See the privacy policy.