Skip to content

Upload oversized outbound Avro payloads through the namespace runtime #39

Description

@rmcdaniel

Evidence

The shared Rust request path in src/lib.rs still serializes the original body with request.json(body). src/runtime_payloads.rs implements response reference resolution and authenticated GET downloads, but no outbound upload/discovery path. This leaves the Rust SDK unable to submit values above the ordinary Server request limit even when the namespace advertises runtime-owned external payload storage. This is the Rust counterpart of durable-workflow/sdk-php#63, not a codec change. Source-confirmed gap; a native Rust reproduction remains required.

Required outcome

  • Discover the namespace inline threshold, transport byte limit and availability; upload encoded Avro wire blobs through the authenticated namespace runtime, not provider credentials or URIs.
  • Preserve worker/client role, namespace, checksum, exact byte size and content-addressed retry identity. Use bounded responses, timeouts and no redirects.
  • Cover client and worker payload positions, including batches that exceed the ordinary JSON request limit, without interpreting arbitrary application maps as protocol metadata.
  • Preserve typed Rust payload fidelity and existing inbound limits; reject unsupported or over-limit values meaningfully before sending an oversized ordinary request.
  • Qualify against a published Server with a clean installed consumer, above-threshold workflow input, activity arguments/result, workflow result, exact transport maximum, and cold runtime/worker restart. Include focused failure, integrity, namespace and role tests.

Finish PHP SDK #63 and its Server protocol qualification first, then implement this parity work before claiming the external-payload path is complete across first-party SDKs.

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