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

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

Build:
Build:
LAST BUILD BRANCH: new_api_save_logs
DEFAULT BRANCH: master
Ran 12 Nov 2025 09:29AM 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

12 Nov 2025 09:25AM UTC coverage: 64.118%. Remained the same
19292585482

push

github

web-flow
feat(rust): implement a new software service in Rust (#1829)

This PR implements a new version of the software service using our [zypp
wrapper](https://github.com/agama-project/agama/tree/software-service/rust/zypp-agama).

## Architecture

We need the zypp code to run on a separate thread. For that reason, the
service is composed of the following parts:

*
[agama_software::service::Service](https://github.com/agama-project/agama/blob/software-service/rust/agama-software/src/service.rs)
which implements the actors model that we are using in other Agama
packages.
*
[agama_software::zypp_sevrer](https://github.com/agama-project/agama/blob/software-service/rust/agama-software/src/zypp_server.rs)
which runs the code related to libzypp. It is accessible using a channel
to send
[SoftwareAction](https://github.com/agama-project/agama/blob/software-service/rust/agama-software/src/zypp_server.rs#L88)
messages. In the future, we should refactor this service to use the
mentioned actors model.

## Follow-up

* Adapt the UI.

2695 of 4694 branches covered (57.41%)

Branch coverage included in aggregate %.

16 of 69 new or added lines in 15 files covered. (23.19%)

234 existing lines in 17 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
88.24
0.0% service/lib/agama/manager.rb
1
0.0
0.0% service/lib/agama/product_reader.rb
2
0.0
0.0% rust/agama-cli/src/questions.rs
2
0.0
0.0% rust/agama-server/src/server/web.rs
2
0.0
0.0% rust/agama-server/tests/server_service.rs
2
0.0
0.0% service/lib/agama/dbus/y2dir/manager/modules/Package.rb
3
0.0
0.0% rust/agama-lib/src/scripts/store.rs
7
0.0
0.0% service/lib/agama/dbus/y2dir/manager/modules/PackagesProposal.rb
10
42.86
0.0% service/lib/agama/http/clients/software.rb
23
0.0
0.0% rust/agama-manager/src/service.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/tests/server_service.rs
2
55.56
0.0% rust/agama-lib/src/storage/http_client.rs
3
86.84
0.0% web/web/src/components/software/SoftwarePage.tsx
3
86.96
0.0% rust/agama-utils/src/api/issue.rs
5
0.0
0.0% rust/agama-lib/src/lib.rs
5
0.0
0.0% rust/agama-manager/src/start.rs
6
88.24
0.0% service/lib/agama/manager.rb
7
0.0
0.0% rust/agama-cli/src/questions.rs
7
0.0
0.0% rust/xtask/src/main.rs
8
0.0
0.0% service/lib/agama/dbus/y2dir/manager/modules/PackagesProposal.rb
9
0.0
0.0% rust/agama-lib/src/install_settings.rs
10
0.0
0.0% rust/agama-server/src/web/docs.rs
17
0.0
0.0% rust/agama-lib/src/scripts/store.rs
21
0.0
0.0% rust/agama-manager/src/service.rs
32
0.0
0.0% rust/agama-server/src/web.rs
46
0.0
0.0% rust/agama-server/src/server/web.rs
52
0.0
0.0% rust/agama-lib/src/store.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 19292585482.3 12 Nov 2025 09:29AM UTC 580
68.68
GitHub Action Run
3 service 18222230338.3 03 Oct 2025 12:39PM UTC 390
88.57
GitHub Action Run
1 rust 19271277503.1 11 Nov 2025 04:07PM UTC 203
21.75
GitHub Action Run
Source Files on build 19292585482
  • Tree
  • List 1173
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19292585482
  • 4768c4c9 on github
  • Prev Build on api-v2 (#19272238753)
  • Next Build on api-v2 (#19369730084)
  • 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