Skip to content

turnloop-mongodb: host-entropy obligations (SCRAM nonce, ObjectIdGenerator) are documented in two separate places #71

Description

@proggeramlug

Problem

turnloop-mongodb places two separate, unrelated obligations on the host to supply entropy or unique values, and documents them in two different places: the SCRAM authentication nonce is described in the README, while the requirement that the host supply an ObjectIdGenerator lives in the command module's own documentation.

Why it matters

Perry's P7 lane calls the ObjectIdGenerator requirement specifically "easy to miss until an insertOne reaches the server without _id" — meaning a host can integrate this crate, pass its own tests, and only discover the missing piece against a real server, where a write silently goes out without the id Mongo's own driver would have generated locally.

What would fix it

Consolidating both host-entropy obligations into one place — ideally the top-level README's setup section, since that's where a new integrator looks first — so neither is discoverable only by hitting the failure it causes.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions