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

jcronenberg / agama / 12886528870
63%

Build:
DEFAULT BRANCH: master
Ran 21 Jan 2025 12:06PM UTC
Jobs 3
Files 970
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.113% (-0.007%) from 72.12%
12886528870

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

23839 of 32894 relevant lines covered (72.47%)

41.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.0
0.08% service/lib/agama/software/product_builder.rb
1
97.62
0.12% service/lib/agama/software/product.rb
1
96.0
0.08% service/service/lib/agama/software/product_builder.rb
1
97.62
0.12% service/service/lib/agama/software/product.rb
2
83.33
-16.67% service/lib/agama/software/repository.rb
2
83.33
-16.67% service/service/lib/agama/software/repository.rb
3
96.15
0.0% service/lib/agama/software/proposal.rb
3
96.15
0.0% service/service/lib/agama/software/proposal.rb
9
74.58
0.34% service/lib/agama/software/manager.rb
9
74.58
0.34% service/service/lib/agama/software/manager.rb
11
84.26
-1.59% service/lib/agama/dbus/software/product.rb
11
84.26
-1.59% service/service/lib/agama/dbus/software/product.rb
13
78.65
-1.58% service/lib/agama/dbus/software/manager.rb
13
78.65
-1.58% service/service/lib/agama/dbus/software/manager.rb
Jobs
ID Job ID Ran Files Coverage
3 service - 12886528870.3 21 Jan 2025 12:06PM UTC 518
89.11
GitHub Action Run
3 web - 8602304692.3 08 Apr 2024 03:02PM UTC 0
74.64
GitHub Action Run
3 rust - 12808597893.3 16 Jan 2025 12:22PM UTC 129
24.79
GitHub Action Run
Source Files on build 12886528870
  • Tree
  • List 970
  • 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 #12886528870
  • fa72f8e2 on github
  • Prev Build on master (#12808597893)
  • Next Build on master (#12886528863)
  • 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