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

agama-project / agama / 28577280683
83%

Build:
DEFAULT BRANCH: master
Ran 02 Jul 2026 08:46AM 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.091% (+0.007%) from 83.084%
28577280683

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

4879 of 6799 branches covered (71.76%)

Branch coverage included in aggregate %.

47 of 51 new or added lines in 13 files covered. (92.16%)

28 existing lines in 10 files now uncovered.

25411 of 29655 relevant lines covered (85.69%)

122.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
51.85
0.0% web/src/hooks/model/proposal.ts
1
48.28
0.0% web/src/hooks/model/system.ts

Coverage Regressions

Lines Coverage ∆ File
5
52.17
0.0% web/src/components/storage/dasd/DASDPage.tsx
5
48.28
0.0% web/src/hooks/model/system.ts
5
87.5
0.0% web/src/components/storage/ProposalPage.tsx
4
93.28
0.0% web/src/components/core/Page.tsx
3
51.85
0.0% web/src/hooks/model/proposal.ts
2
90.91
0.0% web/src/components/network/WifiConnectionForm.tsx
1
94.25
0.0% web/src/components/software/SoftwarePage.tsx
1
98.4
0.0% web/src/components/overview/UsersSummary.tsx
1
88.89
0.0% web/src/components/storage/ISCSIPage.tsx
1
98.56
0.0% web/src/components/software/patterns-form/Form.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 28577280683.3 02 Jul 2026 08:46AM UTC 319
92.37
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 web 28535833370.3 01 Jul 2026 05:33PM UTC 719
79.96
GitHub Action Run
Source Files on build 28577280683
  • Tree
  • List 1038
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28577280683
  • 663a7384 on github
  • Prev Build on master (#28535833370)
  • Next Build on master (#28577280695)
  • 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