Repository navigation
0.2.0
Every part of triage can now run on whichever machine suits it. A small always-on box such as a Home Assistant Green can run the server, while the machine with the models decides on issues and suggests fixes for it. This release also brings the Home Assistant app, Arch packages and a Linux binary.
Workers
triage work --decideand--suggestfetch issues from a server, ask your local models about them, and send the answers back, so the models only need to be reachable from the worker. It uses the same settings asserve --decideandserve --suggest, so a machine's settings mean the same whichever role it has.- Add a worker with
triage workers add <name>. Worker tokens can only fetch work and send back answers. - The server's daily limits (
TRIAGE_DECIDE_DAILYandTRIAGE_SUGGEST_DAILY) now cover the server and all its workers together. Nothing queues up while a worker is off.
Managing a server remotely
hosts,adminsandworkerstake--server <url>to manage a server over its API as an admin, with the token inTRIAGE_ADMIN_TOKEN, so you don't need a shell on the server.TRIAGE_SERVER_ADMIN_TOKENgives a server an admin token from its settings, at least 32 characters, to get started with. It isn't stored or listed.- Any setting can also come from a JSON file at
TRIAGE_OPTIONS, with lowercase keys and noTRIAGE_prefix. Environment variables win over the file.
Home Assistant
The Triage app runs the server on Home Assistant OS, for amd64 and aarch64. Add this repository to the app store, install Triage, set its admin token and start it. Its documentation tab explains adding hosts and workers.
Arch Linux
triage-bin(each release) andtriage-git(main) are in the timmo pacman repository.- They install three user services, none of them enabled:
triage-agent.servicecollects and uploads,triage-server.serviceruns the server, andtriage-worker.servicerunstriage work. See the README for setting each one up. - Each release also has the Linux binary attached.
Capture
- Long crash messages are kept whole.
- Blank error lines are skipped.
- Transient scopes and generated units, which get a new name each time, are grouped as one issue.
Packages
- Server image:
ghcr.io/timmo001/triage:0.2.0, now for amd64 and arm64 - Home Assistant app image:
ghcr.io/timmo001/triage-app:0.2.0, which runs as root, as the Supervisor needs @timmo001/effect-triage: shared schemas and the API, now with the work and token endpoints, on npm and JSR@timmo001/effect-triage-client: the Effect client, on npm and JSR
Full Changelog: 0.1.0...0.2.0