Skip to content

OpsCrew 0.1.2

Choose a tag to compare

@softzer0 softzer0 released this 29 Oct 05:26
· 740 commits to main since this release

Added

  • opscrew logs shows your app's latest log lines wherever it runs: on a server, in your Portainer, on this computer, or a server-rendered site on Cloudflare. --follow keeps showing new lines until Ctrl+C, and --service, --since and --tail choose which lines. Secrets are masked before a line is shown. See Your app's logs and resource figures.

  • opscrew status shows how the app is doing right now: the server's load, memory and disk, and each container's CPU, memory, restarts and uptime. It flags a container near its memory limit, a disk past 85% and a restart since the last deploy, with what to do. On Cloudflare it shows the Worker's requests, errors and CPU time of the last day.

  • A scheduled check in GitHub Actions, on by default for prod, checks that your app answers, that its certificate is valid and that its server's disk has room. When something fails it opens a GitHub issue, and it can post to Slack, Discord or ntfy; when the app recovers it closes the issue and says how long the problem lasted. design shows its Actions minutes a month, and destroy and retarget pause it. See Alerts: the scheduled check.

  • Two add-ons for a server OpsCrew deploys to, each turned on with opscrew addon enable after a plan you approve, and removed with opscrew addon disable:

    • Beszel: charts and history of the server and its containers. opscrew addon open beszel opens its dashboard through an SSH tunnel;
    • Grafana Cloud: your app's log lines and the server's metrics, sent to your own free Grafana Cloud stack by Grafana Alloy, with the app's secrets masked before they leave the server.

    Both see Docker only through OpsCrew's read-only proxy.

  • The Claude Code plugin reads the logs (opscrew_logs), shows the figures and open alerts in opscrew_status, and turns the add-ons on and off. Its new /opscrew:opscrew-troubleshoot skill finds out why your app is failing or slow. See the plugin's guide.

Changed

  • With the scheduled check on, the GitHub token needs Issues: Read and Variables: Read and write. For a server-rendered site's past requests in opscrew logs, the Cloudflare token needs Workers Observability: Read. See Security.
  • Hints that pointed to docker compose logs on the server now name opscrew logs.

Fixed

  • On Debian, Ubuntu and other Linux systems where sh is dash, provision of an environment on this computer could not log in to GitHub Container Registry to pull the app's image. Docker got no token, though the token was right.

Full changelog: v0.1.1...v0.1.2