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

agama-project / agama / 26827820465
83%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2026 02:54PM UTC
Jobs 3
Files 932
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

02 Jun 2026 02:50PM UTC coverage: 81.46% (+0.004%) from 81.456%
26827820465

push

github

web-flow
feat(storage): LVM policy for generating physical volumes (#3549)

New LVM volume groups use the needed space to allocate its logical
volumes. For example, if two disks are selected as target devices for
creating physical volumes and everything fits into the first disk, then
the second disk is not used at all.

This behaviour could be unexpected, so now Agama allows configuring the
policy for creating new physical volumes:

## `useNeeded` policy

This is the policy for the current behaviour. Only needed space is used.
It is the default value to keep backward compatibility with old
profiles.

~~~json
{
  "physicalVolumes": [
    { 
      "generate": {
        "targetDevices": ["disk1", "disk2"],
        "spacePolicy": "useNeeded"
      }
    }
  ]
}
~~~

If a config is loaded using the CLI and `useNeeded` is used, then the UI
will inform to the user, but it does not allow changing the policy. In
this case, the volume group has to be removed and created again in order
to use `useAvailable` policy.

## `useAvailable` policy

Creates the volume group using all the space available in the target
devices. Volume groups created through the UI will always use this
policy.

~~~json
{
  "physicalVolumes": [
    { 
      "generate": {
        "targetDevices": ["disk1", "disk2"],
        "spacePolicy": "useAvailable"
      }
    }
  ]
}
~~~

4399 of 6435 branches covered (68.36%)

Branch coverage included in aggregate %.

28 of 28 new or added lines in 9 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

23858 of 28253 relevant lines covered (84.44%)

97.69 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
97.7
0.08% web/web/src/components/storage/LvmPage.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 26827820465.3 02 Jun 2026 02:54PM UTC 615
77.51
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 service 26586921140.3 28 May 2026 04:15PM UTC 317
92.47
GitHub Action Run
Source Files on build 26827820465
  • Tree
  • List 932
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26827820465
  • 382dd5d2 on github
  • Prev Build on master (#26644718550)
  • Next Build on master (#26829461125)
  • 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