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

agama-project / agama / 15203364893
72%

Build:
DEFAULT BRANCH: master
Ran 23 May 2025 06:03AM UTC
Jobs 3
Files 532
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.732%. Remained the same
15203364893

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

5 existing lines in 3 files now uncovered.

11031 of 17599 relevant lines covered (62.68%)

39.62 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.72
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 rust 15203364893.3 23 May 2025 06:03AM UTC 117
1.34
GitHub Action Run
3 web 15203364908.3 23 May 2025 05:57AM UTC 36
82.3
GitHub Action Run
3 service 15203364903.3 23 May 2025 05:59AM UTC 379
89.06
GitHub Action Run
Source Files on build 15203364893
  • Tree
  • List 532
  • 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 #15203364893
  • c1c4e961 on github
  • Prev Build on master (#15203364903)
  • Next Build on master (#15207102850)
  • 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