Skip to content

Prove a remote node without storage creates no local directory - #390

Merged
athNdev merged 1 commit into
mainfrom
oss/281-remote-refusal
Nov 10, 2026
Merged

athNdev merged 1 commit into
mainfrom
oss/281-remote-refusal

Conversation

@athNdev

@athNdev athNdev commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add TestForNodeMissingAdapterCreatesNothing so a remote node with no shared storage returns ErrUnavailable and a nil accessor.
  • The test proves ForNode does not create the server data directory or a sibling on the controller when the storage adapter is missing.
  • The streaming remote transport adapter is still not built. OSS-281 stays In Progress.

Test plan

  • gofmt -w internal/nodestorage/accessor_test.go
  • go test ./internal/nodestorage/ -count=1 -timeout 120s
  • go vet ./internal/nodestorage/
  • Confirm local-node and shared-storage accessor paths still pass in CI

Made with Cursor

The refusal must stay fail-closed so a missing adapter cannot hide server data on the controller disk.
@athNdev
athNdev merged commit 918ab49 into main Nov 10, 2026
11 checks passed
@athNdev
athNdev deleted the oss/281-remote-refusal branch November 10, 2026 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant