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

agama-project / agama / 19271277503
66%
master: 73%

Build:
Build:
LAST BUILD BRANCH: network_startup_install
DEFAULT BRANCH: master
Ran 11 Nov 2025 04:07PM UTC
Jobs 3
Files 1173
Run time 2min
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

11 Nov 2025 04:00PM UTC coverage: 64.118% (-0.7%) from 64.776%
19271277503

push

github

web-flow
Adapt network to the new config based HTTP API (backend) (#2862)

## Problem

There is a new config based HTTP API and all the services needs to be
adapted. The aim of this PR is to adapt the network backend service
(replace #2840).

- https://github.com/agama-project/agama/pull/2715

## Solution

In the new architecture all the Agama modules will live in its own
package implementing the actors/service as described in
(https://github.com/agama-project/agama/pull/2715), but as network was
already using a actors model using an enums approach it was decided to
use the current service in the first iteration of changes.

### Changes done

- Added the actions for getting the system, proposal and current network
configuration using the actual actions passing messages system based on
enums.
- All the structs or types that are related to the API (needs to be
serialized) has been moved to agama-utils, it was decided to not depend
on agama-lib anymore. The types will be re-exported to be used by
agama-network when needed.
- As the current merge is concatenating the connections array, the patch
**(updateConfig)** will replace the connections with the given one when
present, but is something we need to revisit and decide how to do it in
a better way.
- Removed the network web service.
- As the proposal, system info and config contains similar collections
and just change the absence or presence of some of them we have
introduced the **NetworkCollection** and
**NetworkConnectionCollections** in order to do the conversion between
them.

### TODO

- Move to the actors/service model using traits instead of enums and
adding the issues and progress monitor to the network service.
- Remove all the actions which are not needed anymore (old network web
service).
- Add unit tests covering the new approach.

2695 of 4694 branches covered (57.41%)

Branch coverage included in aggregate %.

108 of 367 new or added lines in 10 files covered. (29.43%)

227 existing lines in 5 files now uncovered.

25358 of 39058 relevant lines covered (64.92%)

151.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-network/src/nm/watcher.rs
2
0.0
0.0% rust/agama-manager/src/start.rs
3
0.0
rust/agama-network/src/start.rs
4
0.0
0.0% rust/agama-network/src/nm/client.rs
6
0.0
0.0% rust/agama-manager/src/service.rs
7
50.0
-3.66% rust/agama-lib/src/network/store.rs
8
75.03
0.0% rust/agama-network/src/nm/dbus.rs
36
0.0
-57.45% rust/agama-network/src/system.rs
88
23.46
-26.83% rust/agama-network/src/model.rs
104
50.24
rust/agama-utils/src/api/network/types.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.03
0.0% rust/agama-network/src/nm/dbus.rs
2
0.0
-50.0% rust/agama-network/src/adapter.rs
2
0.0
0.0% rust/agama-server/src/web.rs
108
0.0
-57.45% rust/agama-network/src/system.rs
114
23.46
-26.83% rust/agama-network/src/model.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 19271277503.1 11 Nov 2025 04:07PM UTC 203
21.75
GitHub Action Run
3 web 19247064332.3 10 Nov 2025 09:46PM UTC 580
68.68
GitHub Action Run
3 service 18222230338.3 03 Oct 2025 12:39PM UTC 390
88.57
GitHub Action Run
Source Files on build 19271277503
  • Tree
  • List 1173
  • Changed 19
  • Source Changed 18
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19271277503
  • 8742b524 on github
  • Prev Build on api-v2 (#19247064332)
  • Next Build on api-v2 (#19272238753)
  • 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