Repository navigation
Bump Dragonfly dependencies and enhance client request authorization - #103
Merged
Merged
Conversation
Update the Go module dependency on d7y.io/dragonfly/v2 to v2.5.4-rc.1 in both the client-request library and the e2e tests, and bump the Rust dragonfly-client-request crate to 1.14.1 (including the README example). The e2e chart config now uses scheduler v2.5.4-rc.1 and seed client v1.5.13, and drops the explicit `backend.enableCacheTemporaryRedirect` override, relying on the client's default instead. Signed-off-by: Gaius <gaius.qi@gmail.com>
…ackend errors Resolve the registry token when each preheat target starts, via a shared auth client in Go and `client.auth` per task in Rust, so a long preheat no longer fails when the bearer token expires. Registries without a bearer challenge now work: basic credentials are sent as a Basic header, and anonymous registries get no Authorization header instead of an error. The Go `downloadTask` now reads the dfdaemon backend error from the `grpc-status-details-bin` trailer and returns a `BackendError`, so a definitive answer like 404 is not retried, matching the Rust SDK. `PreheatImage` and `StatImage` return the context cause when resolving the image fails because the context ended, and `DeleteImage` on a ended context returns the peers that already deleted the image alongside the error instead of a nil response. Bump dragonfly to v2.5.4-rc.2 in the Go modules and e2e chart config. Signed-off-by: Gaius <gaius.qi@gmail.com>
gaius-qi
requested review from
EvanCley,
anjia0532,
chlins,
hhhhsdxxxx,
hyy0322 and
yyzai384
November 12, 2026 09:13
github-actions
Bot
requested review from
CormickKneey,
bergwolf and
xujihui1985
November 12, 2026 09:13
CormickKneey
approved these changes
Nov 12, 2026
gaius-qi
enabled auto-merge (squash)
November 12, 2026 09:15
hhhhsdxxxx
approved these changes
Nov 12, 2026
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.
Description
Related Issue
Motivation and Context
Screenshots (if appropriate)