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

agama-project / agama / 23059819960
77%

Build:
DEFAULT BRANCH: master
Ran 13 Mar 2026 04:16PM UTC
Jobs 3
Files 865
Run time 2min
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

13 Mar 2026 04:13PM UTC coverage: 77.473% (+0.002%) from 77.471%
23059819960

push

github

web-flow
Hotfix for an error reporting whether TPM-based unlocking is available (#3279)

## Problem

As reported at
[bsc#1258486](https://bugzilla.suse.com/show_bug.cgi?id=1258486), the
web UI is not displaying the corresponding checkbox to configure TPM
unlocking when the system supports it.

Inspecting the root of the problem, we found the backend was reporting
the string "tpm_fde" to describe the corresponding encryption method,
instead of the correct string "tpmFde".

The investigation also concluded we have a small mess regarding the ids
for the different encryption methods.

## Solution

This pull request fixes the main problem.

It also simplifies the current schema for the system API, removing
values that are actually never reported by the backend.

## Future

The topic needs some more love for the following Agama release. 

On the one hand, we concluded that `availableMethods` should not be part
of the system API. Since it only serves the UI, it should reside in the
private API.

We also need to fix the formats of the encryption method ids to not mix
camelCase and snake_case. But keeping backwards compatibility where
needed.

The code added on this pull request will very likely change in the short
term to adapt to those changes.

## Testing

Tested manually.

3218 of 5102 branches covered (63.07%)

Branch coverage included in aggregate %.

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

20529 of 25550 relevant lines covered (80.35%)

84.81 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 23059819960.3 13 Mar 2026 04:16PM UTC 314
88.02
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 web 23059820001.3 13 Mar 2026 04:16PM UTC 551
73.1
GitHub Action Run
Source Files on build 23059819960
  • Tree
  • List 865
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23059819960
  • e5aa064f on github
  • Prev Build on master (#23059820001)
  • 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