• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 26016589058
81%
master: 81%

Build:
Build:
LAST BUILD BRANCH: migrate-users-form-tanstack
DEFAULT BRANCH: master
Ran 18 May 2026 06:10AM UTC
Jobs 3
Files 926
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 May 2026 06:01AM UTC coverage: 81.049%. Remained the same
26016589058

push

github

web-flow
Support agama monitor without a terminal (#3510)

## Summary
Enables `agama monitor` to run in environments without a TTY (systemd
services, automation, background processes). It solves a problem with
prevents the autoinstallation, given that the terminal is not available
when running as a systemd service (`agama-autoinstall` is a systemd
service).

We should consider this one a critical error to besolved before release
version 21.

<details>
<summary>Error during auto-installation</summary>

<img width="1280" height="800" alt="autoinstall-error"
src="https://github.com/user-attachments/assets/43c7cb1f-aa78-4296-8d7b-0c4d7d4b8b92"
/>
</details>

## Changes
- Auto-detect terminal availability using `std::io::IsTerminal`
- Add headless mode with plain text output
- Move monitoring logic from agama-cli to agama-lib (better
architecture)
- Monitor owns stop_on_idle logic and emits status updates
- Return Receiver directly (removed MonitorClient wrapper)
- Channel closure properly signals completion (idiomatic Rust)

## Result
- Works in both TUI and headless modes automatically
- -141 lines of code
- Cleaner API and architecture
- Channel closes correctly when monitoring stops

4278 of 6368 branches covered (67.18%)

Branch coverage included in aggregate %.

23697 of 28148 relevant lines covered (84.19%)

99.28 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 26016589058.3 18 May 2026 06:10AM UTC 317
92.46
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 web 25925936857.3 15 May 2026 03:25PM UTC 609
76.94
GitHub Action Run
Source Files on build 26016589058
  • Tree
  • List 926
  • Changed 32
  • Source Changed 7
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26016589058
  • c06f76da on github
  • Prev Build on master (#25959773279)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc