Skip to content

fix(messages): return errors on load failure#190

Open
MicroMilo wants to merge 1 commit into
OpenBMB:mainfrom
MicroMilo:codex/message-load-errors-500
Open

fix(messages): return errors on load failure#190
MicroMilo wants to merge 1 commit into
OpenBMB:mainfrom
MicroMilo:codex/message-load-errors-500

Conversation

@MicroMilo

Copy link
Copy Markdown

Summary

  • return HTTP 500 when the session messages read path fails
  • include the error while preserving empty message metadata for response-shape compatibility

Verification

  • npm --workspace ui test
  • npm exec -- tsc --noEmit -p tsconfig.json

Notes

This is a real API semantics bug: the previous route converted read failures into HTTP 200 empty message lists, making failures indistinguishable from an empty session.

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