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

agama-project / agama / 18556852542

16 Oct 2025 09:32AM UTC coverage: 76.046%. Remained the same
18556852542

push

github

web-flow
Improve events organization (#2801)

## Problem

While moving some logic to separate packages, we found out some circular
dependency problems with some types, especially with `http::Event`
struct from *agama-lib* package.

## Solution

* Extract to *agama-utils* the types used for the HTTP API . In the
future, the CLI will use these types without the need to depend on types
from all Agama packages.
* The events of the new API are separated from the old events.
* The events are shared to all the packages, making possilbe to use a
single broadcast channel to emit events.
* Remove the events listener which is not needed anymore.
* The manager emits a `StatusChanged` event.
* The progress adds information of the `ProgressChanged` event.
* The progress emits a `ProgressFinished` event everytime a progress is
finished.

2695 of 4701 branches covered (57.33%)

Branch coverage included in aggregate %.

75 of 160 new or added lines in 37 files covered. (46.88%)

13 existing lines in 8 files now uncovered.

23289 of 29468 relevant lines covered (79.03%)

260.73 hits per line

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

0.0
/rust/agama-server/src/web/common/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