Evening devlog: backup controls, admin settings, and a few bugs

Today's round was mostly refinements and admin tooling: per-app backup controls, ceilings and failure reasons, a new Admin Settings tab, platform logs, bug fixes, n8n and Grafana recipe updates.

Share

This morning we wrote about backups that actually work. The rest of the day went into the feedback that came back: mostly refinements, admin tooling, and a few bugs we're glad we caught.

Backups, grown up

  • Backups can be switched on or off per app, and an admin can lock an app's backups with a reason the owner sees.
  • Storage ceilings, per app and for the whole platform.
  • Keep the last N backups; failed ones roll off first so they never push out a good one.
  • Rate limits that make sense, and failed downloads no longer count against them.
  • Real failure reasons instead of a generic error, and a sweeper that cleans up backups interrupted by a restart.

Admin experience

There is a new Admin Settings tab, so limit ceilings are editable live instead of being env vars. The Health page now shows backup storage, failing backups and why, and has a platform log viewer and download. Logs are available from a browser session only (not API keys), and secrets are masked.

Bugs we fixed

  • "Preparing the download failed" and "3 downloads per hour" got mixed up. Two causes: the app shipped before the backup image was re-pinned, and failed attempts were counting against the limit. Both are fixed.
  • The Danger zone is now always last on the settings page, and spacing there is cleaned up.
  • A noisy sweep log line for a deleted app is gone.

Recipes

n8n now keeps everything across restarts with a volume mounted at /home/node. It still needs the 512 MiB memory override. Grafana can now run on PostgreSQL as well as MySQL.

Quality

A coverage pass brought the suite to 1684 tests, and a pentest of this round found and fixed two medium issues (platform logs reachable with an admin API key, and unredacted log text). Details are in the repo's pentest notes.