Xuanwo opened a new pull request, #9435:
URL: https://github.com/apache/opendal/pull/9435

   # Which issue does this PR close?
   
   This migrates Yandex Disk as part of apache/reqsign#685 and builds on #9271.
   
   # Rationale for this change
   
   `reqsign-yandex-disk` 1.0.0 provides a static OAuth credential provider and 
request signer. Reqsign now validates the token and constructs the 
authorization header. OpenDAL still handles the Yandex Disk storage protocol.
   
   # What changes are included in this PR?
   
   The service signs first-party requests for metadata, directory creation, 
copy, move, delete, and upload and download link lookup. The operation’s HTTP 
transport uses each returned absolute transfer URL verbatim and sends the 
upload or download without an `Authorization` header.
   
   On November 30, 2026, an offline replay through the public `Operator` 
compared parent `0f43aa4fb9f317536f3de3320aa74de3731c422b` with candidate 
`c83e9c541e35f741cdffc7d81ba9d280ec1b10cb`. All 36 requests and 20 caller 
results matched in order, including errors during link lookup and transfer. The 
candidate marked all 28 first-party OAuth headers sensitive and sent all eight 
transfer requests unsigned. Verification used synthetic credentials and 
scripted offline HTTP responses. Wasm coverage was compile-only on 
`wasm32-unknown-unknown` with facade defaults disabled and 
`services-yandex-disk` enabled.
   
   In a separate replay on the same date, a Yandex Disk-only consumer with 
facade defaults enabled combined `c83e9c541e35f741cdffc7d81ba9d280ec1b10cb` 
with #9433 at `91e04a1deb3339c0f30b530585698333ed7377ab`. All four offline 
probes passed in that build, and its default dependency graph excluded 
Reqsign’s RustCrypto backend.
   
   # Are there any user-facing changes?
   
   Valid OAuth tokens need no migration. The builder, typed config, URI and 
key-value configuration still accept the raw token. An empty token still 
returns permanent `ConfigInvalid` at construction.
   
   Malformed nonempty tokens now return permanent `Unexpected` on the first 
operation that needs signing, before HTTP dispatch. The parent dispatched one 
request for each of four inputs (internal space, spaces only, tab and 
non-ASCII). Newline and DEL already failed before dispatch, during HTTP request 
construction.
   
   # Breaking changes
   
   # AI Usage Statement
   
   | Harness | Model | Effort | Role |
   | --- | --- | --- | --- |
   | Pi | `magpie/codex/gpt-6.2-sol` | `max` | Implemented the migration, 
captured and replayed the HTTP comparisons, and checked the combined dependency 
graph and consumer probes. |
   | Pi | `magpie/codex/gpt-6.2-astra` | `high` | Designed the signer boundary 
and acceptance criteria, drafted the initial title and body, and revised the 
body for publication. |
   | Pi | `magpie/kimi-code-cn/k3.1-pro` | Unset | Independently reviewed 
private candidate `292ed7ad18b02dedb4f80c4e462f75e86c15efcc` against parent 
`746d66adafe442859400ec52f5e791581e1f54dd` and checked its request and result 
comparisons. |
   | Pi | `magpie/codex/gpt-6.2-astra` | `xhigh` | Coordinated implementation, 
independent review and publication preparation. |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to