laskoviymishka opened a new pull request, #2770:
URL: https://github.com/apache/iceberg-go/pull/2770

   `AuthManager.AuthHeader` now takes a `context.Context`, so every auth 
manager gets the request context. The optional `ContextAuthManager` interface 
and `OAuth2AuthManager.AuthHeaderWithContext` are removed, and the session 
transport and remote signer no longer type-assert for them. 
`OAuth2AuthManager.AuthHeader(ctx)` has the body `AuthHeaderWithContext` had, 
so token refresh, singleflight and timeouts are unchanged. Basic auth ignores 
the context. This is the same shape as #2763.
   
   This breaks custom `AuthManager` implementations, which need to add the 
parameter; releases.md has a note. The existing `AuthHeaderWithContext` tests 
now call `AuthHeader`, and the test fakes take the context. Checked with `go 
build ./...`, `go vet ./...` and `go test -short ./catalog/...`.
   
   Part of #2062.
   
   > AI-assisted, reviewed by a human.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to