Skip to content

Merge nvisy-object-store and nvisy-file-service into one crate #354

Backlog

Description

@martsokha

nvisy-object-store (tenant object stores: S3, Azure, GCS) and nvisy-file-service (tenant file services: Drive, Dropbox, OneDrive, SharePoint) are both clients for external, tenant-owned storage. After #352 and #353, they share almost everything:

  • the error type (nvisy_core::Error / ErrorKind)
  • the transfer types (ByteStream, FileUpload)
  • the SSRF guard (nvisy_core::net)
  • the Secret<T> credential type
  • the health probe (ComponentHealth::from_probe)

The server wires them the same way, through the workspace connection services.

Proposal

Merge them into one crate (for example nvisy-integration), with object_store and file_service as modules behind features. This would give one connection model and one place for the shared credential and transfer handling, and it removes a crate boundary that no longer separates anything.

Open questions

  • The crate name.
  • Whether the features stay per provider family (s3, azure, gcs, oauth) or per module.
  • Whether nvisy-s3, which is first-party blob storage on top of nvisy-object-store, keeps depending on the merged crate or moves its use of ObjectStoreClient behind a narrower feature.

Follow-up to the cross-crate cleanup (#352, #353).

Activity

  1. added
    refactor
    architecture
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    architecturerefactor

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions