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

IJHack / QtPass / 46376622100
95%

Build:
DEFAULT BRANCH: main
Ran 30 Nov 2026 08:03AM UTC
Jobs 1
Files 88
Run time 1min
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

30 Nov 2026 07:48AM UTC coverage: 94.369% (-0.1%) from 94.493%
46376622100

push

github

web-flow
The store tree follows changes without Qt's quadratic watch (#2409)

QFileSystemModel watched the store and, for every changed file, found its
row by a linear search, so a pull that rewrote N entries of one folder froze
the window for on the order of N² comparisons (about half a minute for
20000 entries). Scan finding ANT-2026-OJ33F28Z.

The tree's model no longer watches (DontWatchForChanges). StoreTree watches
the folders the shown model has listed with its own QFileSystemWatcher and,
once they have been quiet for 300 ms, builds a fresh model in the
background, listing the store root and every folder listed before, and
swaps it in with the expanded folders, the current entry and the scroll
position kept. Building a fresh model is linear; the worst stall for 20000
entries went from about 23 s to under a second.

Around the swap:
- one build at a time; a change during a build runs one more after it;
- a folder listed while a build runs is listed in the fresh model too;
- the swap waits up to 3 s; listings still under way finish in the shown
  model, after which a search is applied again;
- a folder expanded later is watched then; a store shown again gets a
  fresh model;
- a current entry the swap cannot show is reported (currentEntryLost); an
  open tree menu closes on it rather than acting on the store root, and a
  current entry that still exists comes back once it shows, unless the
  user picked another one meanwhile.

MainWindow's pending-open logic follows StoreTree::directoryLoaded instead
of the model's signal.

Signed-off-by: Anne Jan Brouwer <brouwer@annejan.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

145 of 152 new or added lines in 2 files covered. (95.39%)

15 existing lines in 1 file now uncovered.

11313 of 11988 relevant lines covered (94.37%)

23974.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
96.3
-0.31% src/storetree.cpp
2
94.35
-1.21% src/mainwindow.cpp

Coverage Regressions

Lines Coverage ∆ File
15
94.35
-1.21% src/mainwindow.cpp
Jobs
ID Job ID Ran Files Coverage
1 46376622100.1 30 Nov 2026 08:03AM UTC 88
94.37
GitHub Action Run
Source Files on build 46376622100
  • Tree
  • List 88
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46376622100
  • 221e8e6a on github
  • Prev Build on main (#46322307370)
  • Next Build on main (#46390407988)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc