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

agama-project / agama / 15709361115
74%

Build:
DEFAULT BRANCH: master
Ran 17 Jun 2025 02:02PM UTC
Jobs 3
Files 1034
Run time 13min
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

17 Jun 2025 01:59PM UTC coverage: 64.876% (+2.3%) from 62.527%
15709361115

push

github

web-flow
fix: make sure queries are sync (#2479)

## Problem

Here is a proposal to solve
[bsc#1243276](https://bugzilla.suse.com/show_bug.cgi?id=1243276) and
other synchronization problems. It needs to be tested more extensively.

We have detected that the web UI can get into the following scenario:

1. The web UI tries to connect to the WebSocket.
2. The web UI asks for the selected product. It caches the response.
3. The product gets selected, for instance, loading a profile.
4. The server emits the signal `ProductSelected`.
5. **The WebSocket connection is finally established.**

As you can see, there is a chance that Agama misses the signal (step 4).
If the WebSocket connections happens before (which is the normal case),
everything should work.

## Solution

* Do not mount the `App` component until the `WebSocket` is ready.
* If the connection is lost, `App` is umounted and it has the chance to
clean-up the queries.

## Tasks

- [x] Fix the tests.
- [x] Build an ISO to test the change. Testing images are
[here](https://download.opensuse.org/repositories/systemsmanagement:/Agama:/branches:/sync-queries/images/iso).

1840 of 3390 branches covered (54.28%)

Branch coverage included in aggregate %.

39 of 42 new or added lines in 6 files covered. (92.86%)

21618 of 32768 relevant lines covered (65.97%)

51.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
50.0
web/src/client/ws.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 15709361115.3 17 Jun 2025 02:02PM UTC 532
67.58
GitHub Action Run
3 service 15683799304.3 16 Jun 2025 02:40PM UTC 383
88.82
GitHub Action Run
1 rust 15638614286.1 13 Jun 2025 03:50PM UTC 119
1.3
GitHub Action Run
Source Files on build 15709361115
  • Tree
  • List 1034
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15709361115
  • 35f31ba0 on github
  • Prev Build on master (#15683799304)
  • Next Build on master (#15709361110)
  • 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