Skip to content

sled-agent-client shouldn't depend on propolis-client #10233

@iximeow

Description

@iximeow

the dependency exists to re-export Crucible types:

pub use propolis_client::{CrucibleOpts, VolumeConstructionRequest};

it seems to me that we should either:

  • type the CrucibleOpts parts of propolis-server's API as an opaque string or something, if the type should be fully opaque to Propolis (as I think VolmueConstructionRequest is?), or
  • actually provide the Crucible type as part of propolis-api-types in an explicit admission that the item from Crucible is necessary as part of propolis-server's HTTP API.

because this dependency exists, it complicates ls-apis and requires some extra API exclusion rules in api-manifest.toml. it'll be really nice to clean up the propolis-client-related rules there once we've untangled this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions