Skip to content

Share delivery across project and organization clients - #178

Draft
Stephen Belanger (Qard) wants to merge 5 commits into
mainfrom
feat/share-multi-project-clients
Draft

Stephen Belanger (Qard) wants to merge 5 commits into
mainfrom
feat/share-multi-project-clients

Conversation

@Qard

@Qard Stephen Belanger (Qard) commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Clients and project handles share delivery resources while retaining their own routing, flush boundaries, and loss reporting. Gateways can handle many projects and organizations without creating a worker and connection pool for every client. Throttled destinations release request capacity while waiting to retry.

SDK-issued operations return completions that support both .await and .blocking_wait(). Delivery remains automatic and bounded, and shutdown affects only the selected handle and its descendants. Existing async task, scorer, dataset, and credential-provider implementations remain compatible. The standalone REST client, including generated methods, retains its existing async interface.

Builds on #177 and preserves the delivery completion behavior from #121.

Validation

  • Workspace tests passed on stable and Rust 1.88.0: cargo test --workspace --locked.
  • Strict workspace clippy, formatting, and rustdoc with warnings denied passed.
  • cargo package --workspace --locked --no-verify passed.

@Qard
Stephen Belanger (Qard) force-pushed the feat/share-multi-project-clients branch from e17def8 to 250484c Compare November 23, 2026 19:17
Resolve each unresolved project once per delivery job, retry transient
registration failures with the queue's retry policy, and fetch the upload
token once per job. Registration and capability requests now wait out
cooldowns and count against request concurrency. Every 429 pauses its
scope, and a full cooldown table evicts the soonest-expiring pause.

Delivery is always continuous, so remove the test-only readiness gate.
Barriers no longer scan every queued entry under the intake lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant