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

FROSADO / onecloudriver / 31942547049
78%

Build:
DEFAULT BRANCH: main
Ran 16 Aug 2026 10:50AM UTC
Jobs 1
Files 43
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

16 Aug 2026 10:46AM UTC coverage: 77.371% (+0.1%) from 77.276%
31942547049

push

github

web-flow
fix(mount): make --cache-dir a session-only override (#85) (#86)

A one-off `mount --cache-dir /tmp/...` permanently overwrote the
account JSON (`acc.Mount.CacheDir`), so future mounts (e.g. systemd
service restarts) pointed at a temporary path — which, once deleted,
crash-looped the services until the config was manually restored.

- mount.go: track whether --cache-dir came from the flag and exclude
  it from the persisted config (new buildPersistedMountConfig helper);
  print "(session only, not saved to account config)" when used.
- All other flag overrides (cache-ttl, delta-interval, ...) are safe
  scalars and keep being persisted as before.
- Tests: buildPersistedMountConfig keeps the previous CacheDir when
  the flag is given (also when the persisted value is empty) and
  persists all other fields; persists CacheDir when no flag is set.
- Docs: flag help, command Long text, MANUAL.md/.es, ARCHITECTURE*
  now document the session-only semantics.

Generated with Codebuff 🤖

Co-authored-by: Codebuff <noreply@codebuff.com>

15 of 27 new or added lines in 1 file covered. (55.56%)

3850 of 4976 relevant lines covered (77.37%)

491.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
35.09
9.6% cmd/onecloudriver/mount.go
Jobs
ID Job ID Ran Files Coverage
1 31942547049.1 16 Aug 2026 10:50AM UTC 43
77.37
GitHub Action Run
Source Files on build 31942547049
  • Tree
  • List 43
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 297b857d on github
  • Prev Build on main (#31941493177)
  • Next Build on main (#31945758111)
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