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

agama-project / agama / 17755303830
54%
master: 75%

Build:
Build:
LAST BUILD BRANCH: fix-l10n-reload
DEFAULT BRANCH: master
Ran 16 Sep 2025 05:25AM UTC
Jobs 3
Files 1149
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

16 Sep 2025 05:13AM UTC coverage: 63.619% (+0.004%) from 63.615%
17755303830

Pull #2740

github

web-flow
fix(storage): generate expected JSON when using current size (#2737)

## Problem

The storage config is not properly exported to JSON when the size is
configured to use the current size of the device, see
https://github.com/agama-project/agama/blob/master/doc/storage_proposal_from_profile.md#using-current.

As side effect, devices marked to be shrunk in the UI were actually
configured to shrink and grow at the same time. The proposal currently
fails with such a config.

The problem only affects to the proposal calculated using the UI and it
started to fail since this PR
https://github.com/agama-project/agama/pull/2622. Although the real
source of the problem (wrong exported JSON) has been always there.

## Solution

Generate the correct JSON when using the current size of a device.

## Testing

* Unit tests adapted
* Tested manually
Pull Request #2740: Merge SLE-16

2681 of 4679 branches covered (57.3%)

Branch coverage included in aggregate %.

7 of 14 new or added lines in 2 files covered. (50.0%)

101 existing lines in 5 files now uncovered.

25009 of 38846 relevant lines covered (64.38%)

196.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
9.38
0.0% rust/agama-lib/src/manager/http_client.rs

Uncovered Existing Lines

Lines Coverage ∆ File
10
88.32
0.09% service/lib/agama/manager.rb
14
0.0
0.0% service/lib/agama/dbus/software_service.rb
20
0.0
0.0% service/lib/agama/dbus/storage_service.rb
24
77.54
0.16% service/lib/agama/dbus/software/product.rb
33
66.17
-0.5% service/lib/agama/dbus/software/manager.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 17755303830.3 16 Sep 2025 05:25AM UTC 390
88.51
GitHub Action Run
3 web 17681938717.3 12 Sep 2025 05:48PM UTC 574
68.57
GitHub Action Run
1 rust 17549032731.1 08 Sep 2025 11:27AM UTC 185
18.56
GitHub Action Run
Source Files on build 17755303830
  • Tree
  • List 1149
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17755303830
  • Pull Request #2740
  • PR Base - master (#17681938664)
  • 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