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

FROSADO / onecloudriver / 32005239988
78%

Build:
DEFAULT BRANCH: main
Ran 17 Aug 2026 07:23AM UTC
Jobs 1
Files 46
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

17 Aug 2026 07:18AM UTC coverage: 78.262% (+0.3%) from 77.993%
32005239988

push

github

web-flow
perf(fs): streaming delta apply with bounded memory (issue #68) (#99)

pollAndApply previously accumulated every delta item into a map across all
pages before applying anything, and only persisted the delta link after the
whole cycle succeeded. Now each page is applied as it arrives and the delta
link is persisted per page:

- Memory stays O(page size): a 100k-item delta cycle peaks ~9 MiB instead of
  holding the full batch in heap (regression-tested, < 50 MiB criterion).
- A crash or transient failure resumes from the last applied page: the delta
  loop now resumes from the persisted per-page link on error, so only the
  failed page is re-fetched on retry instead of the whole cycle.
- Folder deletions blocked by a non-empty directory keep the cross-page
  retry semantics of the previous full-set second pass via a bounded pending
  list, so no ghost folders are left behind.
- Deltas are ordered and idempotent, so per-page sequential application
  converges to the same final state as the previous last-wins dedupe.

Tests: partial-failure (page 1 applied, page 2 fails -> resume completes),
end-to-end delta-loop resume with BoltDB (initial page fetched exactly once),
bounded-memory (100k items, parent not in cache, peak heap < 50 MiB). Both
regression tests fail against the previous map-accumulation implementation.

Closes #68

32 of 43 new or added lines in 1 file covered. (74.42%)

4385 of 5603 relevant lines covered (78.26%)

3150.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
85.0
5.74% internal/fs/delta.go
Jobs
ID Job ID Ran Files Coverage
1 32005239988.1 17 Aug 2026 07:23AM UTC 46
78.26
GitHub Action Run
Source Files on build 32005239988
  • Tree
  • List 46
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d2c42bd5 on github
  • Prev Build on main (#32003754766)
  • Next Build on main (#32078980380)
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