Upload prepared media and call generated Rust APIs directly - #23
Merged
Merged
Conversation
meoyawn
force-pushed
the
codex/prepared-media-presign
branch
from
September 30, 2026 20:52
f3b1b4f to
9f52f4d
Compare
meoyawn
commented
Oct 1, 2026
| let order: p::EpisodeOrder = if episode.is_empty() { | ||
| serde_json::from_value( | ||
| api.json( | ||
| match api |
Member
Author
There was a problem hiding this comment.
can't have api.request bro
| api.json( | ||
| match api | ||
| .request( | ||
| api.client() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepared audio previously requested another signature before every storage PUT. Consume initial signed parts from episode-package admission so ordinary audio uses admission/presign, one streamed S3 PUT, and completion. Preserve durable upload checkpoints and additional signing for larger objects and later package files.
Regenerate the public Rust client with async operations from responsibleapi/oasmith#18. Call
api.client().get_episode_order(params).await?directly and match the generated response variants. RemoveApi::request, generated request wrappers, separate sending, handwritten status allowlists and intermediate JSON response parsing. Preserve cancellation, bounded reads, logging, authentication/payment diagnostics and event streaming through client configuration.Companion API and pinned submodules: https://github.com/listenbox/listenbox2/pull/104. Ship the API and client changes together. Rebased onto the parent worktree's playlist creation and titleless-entry fixes.
Validation: generator HTTP fixtures,
moon run client:lint, andmoon run desktop:buildpassed. After integrating the current client and parent masters, rootmoon cipassed: 64 actions completed, including all 427 API tests and 87 dashboard browser tests. No test retries or reduced concurrency.