Repository navigation
fix: report chat history read failures instead of empty history - #1154
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This branch was successfully deployed
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.
A failed chat_messages read was converted into HTTP 200 with an empty history, preventing the app from offering its existing history retry. Return the shared typed HTTP 500 error on a null read result; successful empty and populated responses retain their payloads.
Validation: regression reproduced before the fix; 144 related tests pass, including seven actual GET-route cases with the real reader and mocked database/network guard. Changed-file ESLint passes. Full TypeScript checking produces identical diagnostics on the unchanged base and this head (existing repository/dependency errors). Independent Spec and Standards reviews: zero findings each.
Authorization, streaming, Stop, and shared reader semantics are unchanged. No live database calls. Coordinator owns merge and release.