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

agama-project / agama / 23157046091
77%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2026 05:30PM UTC
Jobs 3
Files 867
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

16 Mar 2026 05:27PM UTC coverage: 76.855% (+0.04%) from 76.811%
23157046091

push

github

web-flow
fix(web): avoid bulk selection working with stale copies (#3289)

By deriving the selection state instead of saving full copies. Quoting
c25040a76 message:

> Storing full device objects in the reducer selection meant that any
external update to the devices prop (e.g. a status change triggered by a
row action) left the selection holding stale snapshots.
> 
> A UPDATE_DEVICE action existed to patch stale copies in-place, but it
was broken and never called. Even if fixed, syncing props into reducer
state via useEffect would be one render behind and is an anti-pattern
React explicitly discourages: don't store what you can compute. Check

https://react.dev/learn/you-might-not-need-an-effect#adjusting-some-state-when-a-prop-changes
> 
> Selection state now tracks only channel IDs. The actual Device objects
are derived on each render by filtering the current devices prop,
ensuring bulk actions always operate on up-to-date data. UPDATE_DEVICE
is removed as it is no longer needed.

---

As an additional, kind of related change, the status values for status
column has been translated in commit
https://github.com/agama-project/agama/pull/3289/commits/5b7a7de4a

3245 of 5220 branches covered (62.16%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 2 files covered. (100.0%)

7 existing lines in 2 files now uncovered.

20583 of 25784 relevant lines covered (79.83%)

86.07 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
94.96
5.28% web/web/src/components/storage/dasd/DASDTable.tsx
1
97.67
0.0% web/web/src/components/storage/zfcp/ZFCPDevicesTable.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 23157046091.3 16 Mar 2026 05:30PM UTC 553
72.28
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 service 23116558913.3 15 Mar 2026 06:31PM UTC 314
88.03
GitHub Action Run
Source Files on build 23157046091
  • Tree
  • List 867
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23157046091
  • b3e3a144 on github
  • Prev Build on master (#23155837618)
  • Next Build on master (#23198379745)
  • 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