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

agama-project / agama / 28577280695
83%

Build:
DEFAULT BRANCH: master
Ran 02 Jul 2026 08:48AM UTC
Jobs 3
Files 1038
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

02 Jul 2026 08:44AM UTC coverage: 83.21% (+0.1%) from 83.084%
28577280695

push

github

web-flow
refactor(web): make progress-tracking query waits explicit per page (#3674)

## Problem

The current progress tracking implementation has a design flaw where all
pages automatically wait for the "common proposal keys" (i.e.,
`proposal` and `extendedConfig`) to refetch, even when those keys are
not relevant to the operation being tracked.

This causes a bug with iSCSI discovery in which the progress backdrop
displays "Refreshing data..." indefinitely because:

1. The discovery operation completes and signals the `iscsi` scope.
2. The progress tracking automatically waits for `COMMON_PROPOSAL_KEYS`
to refetch.
3. But discovery doesn't trigger a proposal change, so those queries
never refetch.
4. The backdrop never dismisses, blocking user interaction.

See https://bugzilla.suse.com/show_bug.cgi?id=1269224.

As proposals come and go, the assumption that every operation affects
the proposal becomes increasingly incorrect. Moreover, the upcoming
architectural changes where some proposals might disappear make this
assumption even more problematic, see check
https://trello.com/c/jTgiokbJ.

## Solution

The solution is to make query-key subscriptions fully explicit, so each
page declares exactly the queries it depends on. In other words, remove
COMMON_PROPOSAL_KEYS and replace the `ensureRefetched` prop (which adds
to the default common keys) with an `awaitQueriesRefetch` prop (which
specifies all keys explicitly, with no defaults).

While the proposed change introduces additional verbosity by requiring
each consumer to explicitly specify the query keys it depends on, it
also makes those dependencies explicit, resulting in a more robust and
future-proof design.

Note: some flaws were detected in the progress tracking, but it is out
of the scope of this PR, see
https://trello.com/c/3WLwI010/2400-improve-progress-tracking.

---

Assisted by Claude Sonnet 4.5

4884 of 6797 branches covered (71.86%)

Branch coverage included in aggregate %.

68 of 69 new or added lines in 22 files covered. (98.55%)

51 existing lines in 14 files now uncovered.

25477 of 29690 relevant lines covered (85.81%)

123.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
50.0
1.72% web/src/hooks/model/system.ts

Coverage Regressions

Lines Coverage ∆ File
20
86.09
0.0% service/lib/agama/dbus/storage/manager.rb
5
55.56
1.71% web/web/src/hooks/model/system.ts
5
85.88
0.17% web/web/src/components/storage/ProposalPage.tsx
5
63.64
3.64% web/web/src/components/storage/dasd/DASDPage.tsx
4
93.33
0.0% web/web/src/components/core/Page.tsx
3
95.92
0.0% service/lib/agama/dbus/storage/zfcp.rb
2
96.55
0.06% web/web/src/components/network/WifiConnectionForm.tsx
1
96.1
0.0% service/lib/agama/dbus/storage/iscsi.rb
1
90.0
1.11% web/web/src/components/storage/ISCSIPage.tsx
1
98.8
0.01% web/web/src/components/overview/UsersSummary.tsx
1
98.59
0.02% web/web/src/components/software/SoftwarePage.tsx
1
99.07
0.01% web/web/src/components/software/patterns-form/Form.tsx
1
96.43
40.43% web/web/src/hooks/model/proposal.ts
1
97.47
0.0% service/lib/agama/dbus/storage/dasd.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 28577280695.3 02 Jul 2026 08:48AM UTC 719
80.13
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 service 28025224739.3 23 Jun 2026 12:13PM UTC 319
92.33
GitHub Action Run
Source Files on build 28577280695
  • Tree
  • List 1038
  • Changed 46
  • Source Changed 26
  • Coverage Changed 43
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28577280695
  • 663a7384 on github
  • Prev Build on master (#28535833370)
  • Next Build on master (#28653769648)
  • 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