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

jcronenberg / agama / 15206508744
63%

Build:
DEFAULT BRANCH: master
Ran 23 May 2025 09:06AM UTC
Jobs 3
Files 582
Run time 1min
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

23 May 2025 05:55AM UTC coverage: 63.096% (+0.09%) from 63.008%
15206508744

push

github

web-flow
UI: handle reused MD RAIDs that are already included in the configuration (#2346)

## Problem

If a storage configuration includes reusing an existing MD RAID device,
such a device is not displayed at the Agama configuration UI. But
actually that case is not so different from using a disk.

## Solution

This extends the component `ConfigEditor` to also display reused MD
RAIDs, offering the same capabilities that are there for disks (like
creating partitions or defining what to do with the existing ones).


![md0b](https://github.com/user-attachments/assets/57e3be40-79fd-469e-aa7f-bf461780eb8b)


![md0a](https://github.com/user-attachments/assets/2181aabd-49d9-46c6-8eb9-66d9b2896d27)

This does not offer any possibility to remove the RAID from the
configuration or to add a new RAID. It only works with RAIDs that are
already present at the loaded configuration.

## Implementation notes

Some of the pre-existing components like `DriveEditor`,
`SpacePolicySelection` or `PartitionsPage` use the old queries at
`config-model.ts` to communicate with the backend. Something that is
deprecated in favor of
https://gist.github.com/joseivanlopez/a8d1e4269e6f1c8d41837dfd89fb556d?permalink_comment_id=5569616

This pull request gives several steps on the agreed direction, but a few
inner components still use the old approach.

## Testing

- Tested manually
- Backend tests reorganized and expanded
- Frontend tests updated

92 of 132 branches covered (69.7%)

Branch coverage included in aggregate %.

96 of 98 new or added lines in 12 files covered. (97.96%)

42 existing lines in 2 files now uncovered.

12991 of 20603 relevant lines covered (63.05%)

34.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% service/lib/agama/storage/config_conversions/from_model_conversions.rb
1
0.0
0.0% service/lib/agama/storage/config_conversions/to_model_conversions.rb

Uncovered Existing Lines

Lines Coverage ∆ File
16
85.19
-11.2% service/lib/agama/software/proposal.rb
26
75.45
-2.0% service/lib/agama/dbus/software/manager.rb
Jobs
ID Job ID Ran Files Coverage
3 service - 15206508744.3 23 May 2025 09:06AM UTC 379
89.06
GitHub Action Run
3 web - 15206508733.3 23 May 2025 09:03AM UTC 36
82.3
GitHub Action Run
3 rust - 15134168953.3 20 May 2025 09:51AM UTC 167
24.49
GitHub Action Run
Source Files on build 15206508744
  • Tree
  • List 582
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15206508744
  • c1c4e961 on github
  • Prev Build on master (#15206508733)
  • Next Build on master (#15206508745)
  • 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