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

jcronenberg / agama / 12886528863 / 3
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 21 Jan 2025 12:14PM UTC
Files 130
Run time 13s
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: 25.155%. First build
12886528863.3

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*

1747 of 6945 relevant lines covered (25.15%)

0.71 hits per line

Source Files on job rust - 12886528863.3
  • Tree
  • List 130
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12886528863
  • fa72f8e2 on github
  • Prev Job for on master (#12886528870.)
  • 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