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

FROSADO / onecloudriver / 34122575811
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: feat(service)--Add-a-restart-command-to-service-command
DEFAULT BRANCH: main
Ran 07 Sep 2026 12:38PM UTC
Jobs 1
Files 60
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

07 Sep 2026 12:33PM UTC coverage: 81.206% (+0.007%) from 81.199%
34122575811

Pull #154

github

FROSADO
fix(fs): protect in-use folders from size-limit eviction

A folder whose children were just fetched from Graph could be evicted by
the size-limit sweep before serving a single cache hit: population did not
count as an access, so a freshly populated folder scored 0 and, under
cacheMaxEntries pressure, was removed within ~1s. Every subsequent Lookup
and Readdir then re-fetched the whole listing; with a small cacheMaxEntries
this repeated forever and, combined with per-name lookups, hung file
managers for minutes (issue #152).

- Population now counts as activity (BumpChildrenAccess after SetChildren).
- Size eviction is idle-aware (sizeEvictIdleGrace=5s): a folder is only an
  eligible victim once it has been idle that long, so the folder being read
  is never evicted even when the cache is over capacity; the sweep defers
  eviction until the folder goes idle.
- Regression tests cover the reported scenario; the end-to-end test fails
  on the pre-fix code.
Pull Request #154: fix(fs): protect in-use folders from size-limit eviction

37 of 41 new or added lines in 1 file covered. (90.24%)

4 existing lines in 2 files now uncovered.

6477 of 7976 relevant lines covered (81.21%)

3107.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
88.63
-0.0% internal/fs/cache.go

Coverage Regressions

Lines Coverage ∆ File
2
88.63
-0.0% internal/fs/cache.go
2
90.74
-3.7% internal/graph/children.go
Jobs
ID Job ID Ran Files Coverage
1 34122575811.1 07 Sep 2026 12:38PM UTC 60
81.21
GitHub Action Run
Source Files on build 34122575811
  • Tree
  • List 60
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #154
  • PR Base - main (#34026101407)
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