The trash and the audit log

Deleting

You can delete a service or a database (from its Settings tab), an environment, or a project (from the project page). The dialog asks you to type the name.

  • What happens at once. The thing stops within a minute:

    • its routes and custom domains are taken out of Caddy, so its URL stops answering;
    • its containers are stopped, but not yet removed;
    • a cron job is taken off its agent.
  • The trash. It then waits 48 hours in Activity, Trash, with who deleted it and when it will be purged. Restore brings it back: Yawl deploys its current version again, without a build, with the same variables. A database starts again on its kept data.

  • The purge. After 48 hours it is gone:

    • its containers;
    • for a database, its volume and every backup of it in storage;
    • its rows (deploys, variables, domains, backups).

    The audit log keeps its history.

  • An offline server. When the server is offline, the purge waits for it. The Trash page says waiting for hel1 to be online to remove its containers.

  • Names stay taken. A name in the trash cannot be used again. yawl apply with that name says acme/production/api is in the trash until 30 Oct 12:02 UTC; restore it, or wait.

  • A database still in use can be deleted. The dialog names the apps that use it, for example api, web use it through acme-db.url.

  • Telegram gets one message for each delete, each restore and each purge, with who did it.

The audit log

Activity, Audit log lists every change made through the panel or the API. Each entry says:

  • who made it: owner or API token <name>;
  • what it was, in a sentence, for example set variable API_KEY on acme/production/api;
  • when it happened.

Values never appear, only names: a request’s body is never recorded.

You can filter by who, by text and by date. Export CSV downloads what the filter shows. Entries older than a year are removed every night at 04:30 UTC.