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

agama-project / agama / 15203364908
72%

Build:
DEFAULT BRANCH: master
Ran 23 May 2025 05:57AM UTC
Jobs 3
Files 530
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: 62.626%. Remained the same
15203364908

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 %.

44 of 46 new or added lines in 10 files covered. (95.65%)

5 existing lines in 3 files now uncovered.

10949 of 17498 relevant lines covered (62.57%)

42.73 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
1
98.68
0.0% service/lib/agama/storage/config.rb
2
0.0
0.0% service/lib/agama/storage/config_conversions/from_model_conversions.rb
2
0.0
0.0% service/lib/agama/storage/config_conversions/to_model_conversions.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 15203364908.3 23 May 2025 05:57AM UTC 36
82.3
GitHub Action Run
3 rust 15191629254.3 22 May 2025 04:23PM UTC 117
1.34
GitHub Action Run
2 service 15105665303.2 19 May 2025 06:19AM UTC 377
89.12
GitHub Action Run
Source Files on build 15203364908
  • Tree
  • List 530
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15203364908
  • c1c4e961 on github
  • Prev Build on master (#15191629254)
  • Next Build on master (#15203364903)
  • 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