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

jcronenberg / agama / 12886528863
63%

Build:
DEFAULT BRANCH: master
Ran 21 Jan 2025 12:14PM UTC
Jobs 3
Files 971
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

21 Jan 2025 09:57AM UTC coverage: 72.052% (-0.06%) from 72.113%
12886528863

push

github

web-flow
fix(web): fix TPM check when using the legacy AutoYaST mode (#1927)

## Problem

When using the legacy AutoYaST mode, the web UI crashes at the end of
the installation when trying
to find our whether it is using TPM or not.

- https://github.com/agama-project/agama/issues/1918

## Solution

Properly handle that case:

* `fetchConfig` now returns `null` instead of `undefined`. According to
[TanStack Query

documentation](https://tanstack.com/query/latest/docs/framework/react/reference/useQuery),
`queryFn`
*Must return a promise that will either resolve data or throw an error.
The data cannot be
undefined*.
* `usingTpm` function now handles the case where the configuration is
`null`.

## Testing

- *Tested manually*

1766 of 2613 branches covered (67.59%)

Branch coverage included in aggregate %.

23889 of 32993 relevant lines covered (72.41%)

41.66 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/src/web/ws.rs
2
0.0
0.0% rust/agama-server/src/web.rs
7
0.0
0.0% rust/agama-server/src/web/docs/software.rs
28
0.0
0.0% rust/agama-lib/src/product/client.rs
37
0.0
0.0% rust/agama-lib/src/software/client.rs
95
0.0
0.0% rust/agama-server/src/software/web.rs
Jobs
ID Job ID Ran Files Coverage
3 rust - 12886528863.3 21 Jan 2025 12:14PM UTC 130
25.15
GitHub Action Run
3 web - 8602304692.3 08 Apr 2024 03:02PM UTC 0
74.64
GitHub Action Run
3 service - 12886528870.3 21 Jan 2025 12:06PM UTC 518
89.11
GitHub Action Run
Source Files on build 12886528863
  • Tree
  • List 971
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #12886528863
  • fa72f8e2 on github
  • Prev Build on master (#12886528870)
  • Next Build on master (#14705186750)
  • 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