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

FROSADO / onecloudriver / 31941645570
77%
main: 78%

Build:
Build:
LAST BUILD BRANCH: issue-49-keyring-key-helpers
DEFAULT BRANCH: main
Ran 16 Aug 2026 10:30AM 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:25AM UTC coverage: 77.331% (+0.06%) from 77.276%
31941645570

Pull #86

github

FROSADO
fix(mount): make --cache-dir a session-only override (#85)

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>
Pull Request #86: fix(mount): make --cache-dir a session-only override (#85)

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

2 existing lines in 1 file now uncovered.

3848 of 4976 relevant lines covered (77.33%)

479.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
35.09
9.6% cmd/onecloudriver/mount.go

Coverage Regressions

Lines Coverage ∆ File
2
79.48
-0.75% internal/fs/content_cache.go
Jobs
ID Job ID Ran Files Coverage
1 31941645570.1 16 Aug 2026 10:30AM UTC 43
77.33
GitHub Action Run
Source Files on build 31941645570
  • Tree
  • List 43
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #86
  • PR Base - main (#31941493177)
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