Skip to content

fix(agent): log upstream stream disconnect diagnostics - #482

Merged
ace331 merged 1 commit into
mainfrom
fix/upstream-disconnect-logging
Sep 3, 2026
Merged

ace331 merged 1 commit into
mainfrom
fix/upstream-disconnect-logging

Conversation

@ace331

@ace331 ace331 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • log model/protocol/status and stream progress when an upstream response body disconnects or idles
  • include reqwest error category and full source chain in the persisted stream error
  • distinguish RPC-triggered abort cleanup from the original model-stream failure
  • add a regression test using a deliberately truncated chunked response

Validation

  • cargo fmt -p future-agent --check
  • cargo clippy -p future-agent --all-targets -- -D warnings
  • cargo test -p future-agent

@ace331
ace331 enabled auto-merge (squash) September 3, 2026 07:15
@ace331
ace331 merged commit a103bf5 into main Sep 3, 2026
12 checks passed
@ace331
ace331 deleted the fix/upstream-disconnect-logging branch September 3, 2026 07:18
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