Fix SSE stream integrity capture #107
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/llm-log!107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/67-stream-integrity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracks #67.
What changed
status_kindso connect failures and post-prepare upstream failures are distinguishable from normal upstream responses;502response;stream_completedonly from protocol terminal evidence ([DONE], provider finish/stop reasons, or known terminal event types);finish_reasonwithout synthesizing missing values;RED evidence
Exact test-only head
74623584b1accf48993ac3fe0c885514d82d46faran the complete suite: 99 tests, with only the 3 new stream-integrity contracts failing. The abrupt-upstream case reproduced the prepared-response hang and hit its 3-second bound.GREEN evidence
Code head
5fa75afa40f15747fdf0a5f1fe8bd0d8f57e9e54passed both exact-head workflows:Final head
74eaf8df2c113e94639962f414445f69c43bdaf3also passed both exact-head workflows after knowledge promotion:View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.