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

agama-project / agama / 23059820001
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.471%. Remained the same
23059820001

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

5 of 6 new or added lines in 2 files covered. (83.33%)

20526 of 25547 relevant lines covered (80.35%)

84.79 hits per line

New Missed Lines in Diff

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