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

agama-project / agama / 11840609705 / 2 – service
68%
master: 68%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2024 03:46PM UTC
Files 514
Run time 15s
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 03:43PM UTC coverage: 89.282% (-0.02%) from 89.301%
service – 11840609705.2

push

github

web-flow
AgamaProposal: fix bug when partitions are searched but not managed (#1767)

## Problem

When a drive was configured with an empty search for partitions like
this (in which there is no configuration about deleting or resizing the
found partitions)...

```json
{
  "storage": {
    "drives": [
      {
        "partitions": [
          { "search": "*" },
          { "filesystem": { "path": "/" } }
        ]
      }
    ]
  } 
} 
```

...all the matched pre-existing partitions are considered as candidates
to be shrunk.

## Solution

With this fix, partitions with no actions do not generate any SpaceMaker
action.

## Bonus

`AgamaProposal` now returns an exception of type
`Y2Storage::NoDiskSpaceError` when the SpaceMaker fails to find space.
That was the documented behavior, but a generic `Y2Storage::Error` was
returned instead.

## Testing

- Added a new unit test
- Tested manually

15278 of 17112 relevant lines covered (89.28%)

49.51 hits per line

Source Files on job service - 11840609705.2
  • Tree
  • List 514
  • Changed 88
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11840609705
  • bbc9ad2a on github
  • Prev Job for on master (#11838245526.2)
  • Next Job for on master (#11842624800.)
  • 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