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

agama-project / agama / 15114790125

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/rust/agama-cli/src/progress.rs


Source Not Available

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