Skip to content

feat: expose prepared operations for borrowed streaming transports - #1

Merged
pawelchcki merged 1 commit into
mainfrom
feat/prepared-streaming-operations
Oct 25, 2026
Merged

pawelchcki merged 1 commit into
mainfrom
feat/prepared-streaming-operations

Conversation

@pawelchcki

Copy link
Copy Markdown
Contributor

Callback-based HTTPS drivers lend response streams only while their connection is owned by the callback. Add prepared list, metadata, range and resumable-upload operations so those drivers can use the Drive protocol directly without returning an owned body or collecting a file in memory. Existing Transport and UploadTransport methods delegate to the same planners and acceptors, preserving their API and validation.

Prepared uploads expose bounded sources that track consumption, reject premature transport success, and keep the session probe-required after cancellation or a lost response. Borrowed responses retain exact range/EOF, metadata limits, redirect handling, session identity and acknowledgement rules. The README includes a compiled borrowed-body adapter example.

Validation with Rust 1.95.0: formatting, strict all-feature/all-target clippy, default and all-feature tests (39 core regressions plus hosted checks), documentation examples, and no_std ARM64/x86_64 UEFI checks. The existing manual loopback benchmark also passes with full payload validation.

@pawelchcki

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T02:59:32.895896Z b813a7b Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: b813a7b83f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@pawelchcki
pawelchcki merged commit cbf048a into main Oct 25, 2026
2 checks passed
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