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

lslezak / agama / 15204440231
81%

Build:
DEFAULT BRANCH: master
Ran 23 May 2025 07:11AM UTC
Jobs 3
Files 545
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: 65.75% (-7.0%) from 72.796%
15204440231

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

375 existing lines in 35 files now uncovered.

12705 of 19331 relevant lines covered (65.72%)

36.31 hits per line

Uncovered Changes

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

Coverage Regressions

Lines Coverage ∆ File
58
75.0
-0.16% service/lib/agama/software/manager.rb
51
75.81
-0.11% service/lib/agama/dbus/storage/manager.rb
43
0.0
0.0% service/lib/tasks/autoyast.rb
40
0.0
0.0% service/lib/agama/dbus/storage_service.rb
29
77.44
-8.83% service/lib/agama/dbus/software/product.rb
25
75.45
-3.2% service/lib/agama/dbus/software/manager.rb
23
67.61
-3.36% service/lib/agama/storage/bootloader.rb
16
85.19
-10.97% service/lib/agama/software/proposal.rb
15
92.5
-5.0% service/lib/agama/registration.rb
8
85.92
-0.2% service/lib/agama/manager.rb
7
81.58
-18.42% service/lib/agama/autoyast/product_reader.rb
7
93.81
-3.69% service/lib/y2storage/proposal/agama_devices_creator.rb
6
92.68
0.18% service/lib/agama/dbus/manager.rb
4
93.94
0.19% service/lib/agama/autoyast/connections_reader.rb
4
0.0
0.0% service/lib/agama/storage/config_conversions/from_model_conversions.rb
4
0.0
0.0% service/lib/agama/storage/config_conversions/to_model_conversions.rb
4
97.35
0.13% service/lib/agama/storage/manager.rb
3
0.0
0.0% service/lib/agama/storage/config_checkers.rb
3
0.0
0.0% service/lib/agama/storage/config_conversions/from_json_conversions.rb
3
0.0
0.0% service/lib/agama/storage/config_conversions/to_json_conversions.rb
3
86.96
-2.7% service/lib/agama/storage/proposal_strategies/base.rb
2
82.81
-1.31% service/lib/agama/dbus/storage/interfaces/dasd_manager.rb
2
94.29
-5.71% service/lib/agama/software/callbacks/media.rb
2
91.67
-2.08% service/lib/agama/storage/config_checkers/search.rb
2
98.8
0.18% service/lib/agama/storage/finisher.rb
2
97.76
-0.02% service/lib/agama/storage/proposal.rb
1
97.73
-2.27% service/lib/agama/autoyast/localization_reader.rb
1
0.0
0.0% service/lib/agama/dbus/storage.rb
1
96.15
12.82% service/lib/agama/software/repository.rb
1
91.67
-1.67% service/lib/agama/storage/config_checkers/base.rb
1
98.72
-1.28% service/lib/agama/storage/config.rb
1
92.86
0.0% service/lib/agama/storage/config_solvers/base.rb
1
99.19
8.98% service/lib/agama/storage/iscsi/manager.rb
1
98.85
0.09% service/lib/y2storage/agama_proposal.rb
1
98.82
0.25% service/lib/y2storage/proposal/agama_device_planner.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 15204440231.3 23 May 2025 07:11AM UTC 379
89.06
GitHub Action Run
3 rust 13549641178.3 26 Feb 2025 05:30PM UTC 130
24.85
GitHub Action Run
3 web 15204440236.3 23 May 2025 07:08AM UTC 36
82.3
GitHub Action Run
Source Files on build 15204440231
  • Tree
  • List 545
  • 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 #15204440231
  • c1c4e961 on github
  • Prev Build on master (#15204440236)
  • Next Build on master (#15204440244)
  • 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