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

agama-project / agama / 19271277503 / 1 – rust
66%
master: 74%

Build:
Build:
LAST BUILD BRANCH: revam-iscsi-ui-draft
DEFAULT BRANCH: master
Ran 11 Nov 2025 04:07PM UTC
Files 203
Run time 5s
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: 21.753%. First build
rust – 19271277503.1

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.

2097 of 9640 relevant lines covered (21.75%)

407.91 hits per line

Source Files on job rust - 19271277503.1
  • Tree
  • List 203
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19271277503
  • 8742b524 on github
  • Prev Job for on api-v2 (#19247064332.)
  • Next Job for on api-v2 (#19272238753.3)
  • 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