Skip to content

embed: packaging for server consumers (pinned rev, narrow features, shared runtime) #7301

Open

Description

@senamakel

Part of tinyhumansai/tinysweeper#197 (rebuild tinysweeper on OpenHuman Embed). tinysweeper consumes openhuman-embed for read-only PR review and needs this from Embed.

Problem

The crates are publish = false, the README git dependency has no rev, and a git checkout needs OpenHuman's vendored submodules to resolve. A server also hits RuntimeError::AlreadyRunning (one runtime per process) and must hand-build tokio with AGENT_WORKER_STACK_BYTES.

Wanted

  • Tagged releases or a documented pin policy for git consumers.
  • A documented narrow feature set that builds without the full core and keeps a default build free of HTTP when the host does not want it.
  • Git dependency resolves without the consumer initialising submodules (or documents exactly what is needed).
  • A server-friendly shared runtime: stack size handled by the crate, safe to share across requests.
  • Toolchain/MSRV documented (currently 1.96.1).

Crate: crates/openhuman-embed. Tests go in crates/openhuman-embed/tests/.

Activity

  1. added
    priority: p2
    on Oct 10, 2026
  2. tinysweeper commented on Oct 10, 2026

    @tinysweeper

    Packaging and server-consumability work for openhuman-embed: release tagging/pinning policy, narrow feature set, submodule-free git dependency, shared runtime with stack-size handling, and documented MSRV.

    Labelled priority: p2.

  3. added theissue type on Oct 10, 2026
  4. senamakel commented on Oct 18, 2026

    @senamakel
    MemberAuthor

    Reviewed during tinyhumansai/tinysweeper#197. Consumer pin metadata, recursive-submodule bootstrap and shared-runtime usage are documented and in production use by TinySweeper. Keeping this open while the minimal-feature build is broken on main a487377: storage_import_tinyjuice_savings imports modules-gated helpers unconditionally. Fix and regression CI check: #8093. TinySweeper is validating OpenHuman 0.64.18 plus that fix; do not treat current main as a verified minimal Embed consumer revision until the fix lands.

  5. M3gA-Mind commented on Nov 16, 2026

    @M3gA-Mind
    Collaborator

    Re-checked on current main: most of this is done. CONSUMERS.md covers pinning, recursive-submodule bootstrap, the toolchain and the shared runtime, and #8540 lets a later runtime take over the secret scope. What's left is narrower features, since Embed still pulls in the core and the HTTP stack, and publishing, since the crate is publish = false. Keeping it open for those.

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

    priority: p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions