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

FROSADO / onecloudriver / 33318322617
81%

Build:
DEFAULT BRANCH: main
Ran 30 Aug 2026 03:03PM UTC
Jobs 1
Files 53
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 Aug 2026 02:58PM UTC coverage: 80.857% (+0.4%) from 80.435%
33318322617

push

github

web-flow
perf(fs): time-bucketed TTL sweep + size-eviction heap (Closes #66) (#139)

* perf(fs): make cache eviction time controllable for #66

Add an injectable cache clock and update TTL eviction tests to simulate time without relying on long sleeps.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>

* fix - change spanish comments

* doc - Update documentation with last changes

* test(fs): convert eviction tests to fake clock for #66

Convert FrequencyExtendsTTL to the injected clock (no time.Sleep) and
add ForceSweep coverage: fresh children kept, inode retained, eviction
counter, and unfetched inodes ignored.

* feat(fs): add TTL ring bucket scaffolding for #66

Introduce the bucket types (ttlEntry, ttlBucket), the TTL ring fields
(ttlMu, ttlBuckets), the ring constants, and ttlBucketIndex, which
derives the bucket from the expiry time rather than the current time.

* feat(fs): add registerTTL for bucket-based TTL eviction for #66

Implement registerTTL: schedules an inode in the bucket of its effective
expiry (ChildrenLastAccess + effectiveTTL), skipping inodes without
cached children and already-expired entries. Duplicates are allowed for
lazy invalidation. Remove the unused ttlBucket struct and add unit tests
for registration, expired-skip, and duplicate entries.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>

* feat(fs): register TTL entries on population, hits and seeding for #66

Wire registerTTL into the cache: after populating a folder's children
(4.1), after a cache hit so frequency extends the effective TTL (4.2),
and when Insert/MoveChild seed a previously evicted folder (4.3).
registerTTL now registers unconditionally so folders whose expiry is
already in the past (zero timestamps) are still swept, matching the full
scan (parity). Add tests for the seeding paths.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>

* feat(fs): register restored inodes on deserialize f... (continued)

208 of 215 new or added lines in 2 files covered. (96.74%)

5888 of 7282 relevant lines covered (80.86%)

3653.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
88.77
2.25% internal/fs/cache.go
Jobs
ID Job ID Ran Files Coverage
1 33318322617.1 30 Aug 2026 03:03PM UTC 53
80.86
GitHub Action Run
Source Files on build 33318322617
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ca94a68d on github
  • Prev Build on main (#32797054863)
  • Next Build on main (#33318773479)
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