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

agama-project / agama / 15114790125
73%

Build:
DEFAULT BRANCH: master
Ran 19 May 2025 02:02PM UTC
Jobs 3
Files 580
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

19 May 2025 01:50PM UTC coverage: 62.83% (-26.1%) from 88.891%
15114790125

push

github

web-flow
feat: use the HTTP + WebSocket API in all commands (#2368)

## Problem

The CLI still relies on D-Bus for some important actions like `agama
install`, `agama probe`, etc. Additionally, it still relies on D-Bus for
progress reporting.

## Solution

This PR introduces some changes regarding the HTTP API:

* Adapts the old D-Bus based actions to use the HTTP/API.
* Adds two new "agama monitor" and "agama events" commands.

To implement these features, it was needed to add a new
`WebSocketClient` which allows reading the events using the WebSocket.

## Testing

- *Tested manually*

## Documentation

A new PR updating the documentation will follow.

## To do

- Create the PR updating the documentation.

## Caveats

- If the monitor is started while the software service is busy, it will
block the reporting.

92 of 132 branches covered (69.7%)

Branch coverage included in aggregate %.

1 of 198 new or added lines in 10 files covered. (0.51%)

12824 of 20425 relevant lines covered (62.79%)

36.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
rust/agama-cli/src/config.rs
4
0.0
rust/agama-cli/src/profile.rs
4
0.0
rust/agama-lib/src/issue.rs
5
11.11
rust/agama-lib/src/manager/http_client.rs
9
0.0
rust/agama-cli/src/events.rs
28
0.0
rust/agama-lib/src/http/websocket.rs
40
0.0
rust/agama-cli/src/progress.rs
50
0.0
rust/agama-lib/src/monitor.rs
54
0.0
rust/agama-cli/src/lib.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 rust 15114790125.3 19 May 2025 02:02PM UTC 167
23.69
GitHub Action Run
2 web 15108960785.2 19 May 2025 09:10AM UTC 36
82.3
GitHub Action Run
2 service 15105665303.2 19 May 2025 06:19AM UTC 377
89.12
GitHub Action Run
Source Files on build 15114790125
  • Tree
  • List 580
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15114790125
  • 3067373d on github
  • Prev Build on master (#15108960785)
  • Next Build on master (#15115032911)
  • 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