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

jcronenberg / agama / 15206508733
63%

Build:
DEFAULT BRANCH: master
Ran 23 May 2025 09:03AM UTC
Jobs 3
Files 580
Run time 3min
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.008%. Remained the same
15206508733

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.

12909 of 20502 relevant lines covered (62.96%)

36.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
Jobs
ID Job ID Ran Files Coverage
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
3 service - 15134168966.3 20 May 2025 09:42AM UTC 377
89.12
GitHub Action Run
Source Files on build 15206508733
  • Tree
  • List 580
  • 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 #15206508733
  • c1c4e961 on github
  • Prev Build on master (#15134168953)
  • Next Build on master (#15206508744)
  • 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