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

FROSADO / onecloudriver
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: feat(service)--Add-a-restart-command-to-service-command
DEFAULT BRANCH: main
Repo Added 07 Aug 2026 08:37AM UTC
Files 60
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

LAST BUILD ON BRANCH issue-147-control-socket-info
branch: issue-147-control-socket-info
CHANGE BRANCH
x
Reset
  • issue-147-control-socket-info
  • docs-contributing-pr-template
  • feat(service)--Add-a-restart-command-to-service-command
  • input/output-optimization-in-go-1190b
  • issue-10-reuse-graph-client
  • issue-101-root-level-delta
  • issue-11-account-remove-confirmation
  • issue-116-extract-shared-helpers
  • issue-117-propagate-swallowed-errors
  • issue-118-improve-coverage-least-covered-modules
  • issue-120-oauth-state-pkce
  • issue-124-remove-dead-deltalink-trim
  • issue-129-rmdir-stale-childcount
  • issue-131-update-indirect-deps
  • issue-132-upgrade-go-toolchain
  • issue-133-add-fuse-panic-handler
  • issue-134-max-inflight-request-bytes
  • issue-14-upload-retries-survive-outage
  • issue-142-upload-path-parent-syntax
  • issue-146-sync-detect-active-mount
  • issue-15-delta-preserve-local-changes
  • issue-152-size-eviction-idle-grace
  • issue-16-if-match-upload
  • issue-17-align-offline-docs
  • issue-20-fix-rpm-license
  • issue-22-remove-account-cache-path
  • issue-26-emoji-rule-contributing
  • issue-28-shell-ascii-fallback
  • issue-29-symbol-table
  • issue-3-extract-account-helper
  • issue-30-i18n-plan
  • issue-32-quickxorhash
  • issue-33-multipart-download-regression
  • issue-35-consolidate-uninstall
  • issue-36-agents-md
  • issue-39-list-target-folder
  • issue-4-build-resource-helper
  • issue-40-fix-systemd-tilde-mountpoint
  • issue-41-service-list
  • issue-41-service-list-fix
  • issue-42-service-status
  • issue-43-service-output
  • issue-44-fix-packaging-unit-percent-escaping
  • issue-45-fix-execstart-binary-resolution
  • issue-47-doc-service-man-page
  • issue-48-consolidate-cmd-boilerplate
  • issue-49-keyring-key-helpers
  • issue-5-dependency-injection
  • issue-50-consolidate-eviction
  • issue-53-fix-rpm-cpio-pattern
  • issue-6-split-service
  • issue-64-atomic-upload-snapshot
  • issue-65-content-cache-heap
  • issue-67-serialize-dirty
  • issue-68-streaming-delta-apply
  • issue-69-zero-copy-upload
  • issue-7-emoji-fallback
  • issue-70-tune-http-transport
  • issue-71-prewarm-depth
  • issue-72-bench-baseline
  • issue-73-manual-sync
  • issue-74-observability
  • issue-75-harden-boltdb-timeout
  • issue-78-coverage-integration
  • issue-8-add-yaml-output-support
  • issue-81-release-v0.1.3
  • issue-83-rename-local-file
  • issue-85-session-only-cache-dir
  • issue-87-fix-empty-flush-upload
  • issue-9-standardize-flag-validation
  • issue-coverage-improvement
  • main
  • no-issue-update-make-doc
  • perf/issue-66-inode-cache-swepp
  • release-prep-v0.1.4
  • release-v0.1.5
  • release-v0.1.6
  • report-coverage

05 Sep 2026 11:35PM UTC coverage: 81.29% (-0.3%) from 81.584%
33999112520

Pull #148

github

FROSADO
feat(control): local Unix-socket HTTP/JSON control channel with /v1/info (Closes #147)

Add a local control channel so a second process (CLI, future UI) can talk
to the running mount without sharing its cache. The mount now listens on a
Unix socket inside the account cache directory and serves a versioned
HTTP/JSON API; this version publishes GET /v1/info (mount state, pid,
account, mountpoint, cache dir and effective config).

internal/control: HTTP server over a Unix socket (mode 0600, stale-socket
cleanup, graceful Close that unlinks the file) and a typed Go client whose
error handling maps dial failures to ErrNotRunning with errors.As instead
of string matching. The runtime daemon fields are owned by the server, so
a provider cannot spoof pid/startedAt/goVersion.

internal/fs: MountConfig.ControlSocket (default <cacheDir>/control.sock)
and start/stop of the server in fs.Mount, including the signal path that
exits via os.Exit.

cmd/onecloudriver: mount --control-socket flag ('off' disables; any path
overrides; otherwise derived from the final --cache-dir).

docs: SOCKET-API.md documents the published endpoint, schema, examples and
socket lifecycle; MANUAL (en/es) and man pages reference the channel and the
new flag.

Tests: unit tests for the server (info, 404/405, permissions, stale socket,
close, bind error) and client (success, not-running via ENOENT/ECONNREFUSED,
404/500, generic transport error) with no sleeps; fs provider coverage.
Coverage internal/control 82.2%, internal/fs provider 100%.
Pull Request #148: feat(control): local Unix-socket HTTP/JSON control channel with /v1/info

173 of 238 new or added lines in 5 files covered. (72.69%)

2 existing lines in 1 file now uncovered.

6404 of 7878 relevant lines covered (81.29%)

2980.3 hits per line

Relevant lines Covered
Build:
Build:
7878 RELEVANT LINES 6404 COVERED LINES
2980.3 HITS PER LINE
Source Files on issue-147-control-socket-info
  • Tree
  • List 60
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33999112520 issue-147-control-socket-info feat(control): local Unix-socket HTTP/JSON control channel with /v1/info (Closes #147) Add a local control channel so a second process (CLI, future UI) can talk to the running mount without sharing its cache. The mount now listens on a Unix socke... Pull #148 05 Sep 2026 11:40PM UTC FROSADO github
81.29
See All Builds (194)
  • Repo on GitHub
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