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

agama-project / agama / 23157046091 / 3 – web
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2026 05:30PM UTC
Files 553
Run time 17s
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: 72.285% (+0.06%) from 72.227%
web – 23157046091.3

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

12662 of 16786 relevant lines covered (75.43%)

74.49 hits per line

Source Files on job web - 23157046091.3
  • Tree
  • List 553
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23157046091
  • b3e3a144 on github
  • Prev Job for on master (#23155837618.3)
  • Next Job for 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