Add bin/repo timers: release timer and queue status at a glance
Wraps systemctl list-timers with the things you actually want when checking on the build host: per-unit enabled state, last run and whether it succeeded, which channels have builds queued (state files), whether the release lock is held by a live process, and any failed units. Units are discovered from systemd/*.timer so the report cannot drift from what setup installs. It forwards over ssh like the other host commands, so the build box's timer state is one command away from a workstation (--local to inspect this machine).
This commit is contained in:
1 parent
db816061a6
commit
9d86123264
3 files changed
+145
-1
No files matched your search
@@ -737,6 +737,16 @@ All channel-mutating runs share a host-wide release lock
|
||||
(`pkgs.omarchy.org/.release.lock`), so overlapping timers and manual runs
|
||||
serialize instead of interleaving.
|
||||
|
||||
Check on all of it with `bin/repo timers` — schedule, each unit's last run and
|
||||
whether it succeeded, what is queued, whether a release is running right now,
|
||||
and any failed units. Like the other host commands it forwards over ssh, so
|
||||
the build box's state is one command away from any machine:
|
||||
|
||||
```bash
|
||||
bin/repo timers # runs on the repository host when one is configured
|
||||
bin/repo timers --local # inspect this machine instead
|
||||
```
|
||||
|
||||
State files are stored in `/root/.state/`:
|
||||
- `.sync-needed-edge`
|
||||
- `.sync-needed-rc`
|
||||
|
||||
Reference in new issue
Block a user