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

agama-project / agama / 11838245526
68%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2024 01:34PM UTC
Jobs 2
Files 637
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

14 Nov 2024 01:31PM UTC coverage: 71.35% (+0.02%) from 71.328%
11838245526

push

github

web-flow
AgamaProposal: Honor DiskAnalyzer candidate devices when searching drives (#1765)

## Problem

When searching drives, the initial implementation of `AgamaProposal`
uses all disk (or disk-like devices, to be precise) in the system.

That is ok as a first attempt, but we always knew we might need to
refine that a bit.

Now that we are working on the new interface for storage configuration,
fully based on `AgamaProposal`, the fact that `AgamaProposal` can choose
a disk that is not considered by `DiskAnalyzer` to be an installation
candidate feels a bit odd.

## Solution

For the time being (and with minimal code changes), this adapts the
`AgamaProposal` algorithm to filter out disks that are skipped by
`DiskAnalyzer`. That typically means the disks from which the installer
is running, disks that contain installation repositories, etc.

We may need to refine that in the future again. But for now that's the
most consistent behavior we can adopt without taking big decisions.

## Testing

Added a new unit test

Manual testing done by @joseivanlopez.

12 of 12 new or added lines in 2 files covered. (100.0%)

16915 of 23707 relevant lines covered (71.35%)

35.84 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
2 service 11838245526.2 14 Nov 2024 01:34PM UTC 514
89.3
GitHub Action Run
2 rust 11818318839.2 13 Nov 2024 01:41PM UTC 123
24.85
GitHub Action Run
Source Files on build 11838245526
  • Tree
  • List 637
  • Changed 43
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11838245526
  • bce4d54a on github
  • Prev Build on master (#11831842636)
  • Next Build on master (#11840609705)
  • 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

© 2025 Coveralls, Inc