fix(backend): include full error chain in stream IO errors#1806
Merged
fix(backend): include full error chain in stream IO errors#1806
Conversation
Signed-off-by: Gaius <gaius.qi@gmail.com>
imeoer
approved these changes
Apr 27, 2026
hhhhsdxxxx
approved these changes
Apr 27, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1806 +/- ##
==========================================
- Coverage 43.44% 43.43% -0.02%
==========================================
Files 92 92
Lines 26972 26997 +25
==========================================
+ Hits 11719 11726 +7
- Misses 15253 15271 +18
🚀 New features to boost your workflow:
|
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
This pull request updates the workspace version to
1.3.7and improves error handling in HTTP response reading for multiple backends. The main changes are upgrading internal dependencies to the new version and enhancing error reporting by including chained error messages, which should make debugging easier.Dependency version updates:
dragonfly-client-*dependencies from1.3.6to1.3.7inCargo.toml. [1] [2]Error handling improvements:
dragonfly-client-backend/src/http.rs,hugging_face.rs, andmodel_scope.rs, improved error reporting in the response stream reader by chaining error messages from all underlying sources, making errors more descriptive and easier to trace. [1] [2] [3] [4] [5] [6]Related Issue
Motivation and Context
Screenshots (if appropriate)