You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(chat): type and directly test fetch_session_messages in the new chat_session_messages module #21353
PR #21236 moved the session-message fetch out of chat_sessions.py into the new module autobot-backend/api/chat_session_messages.py to keep the route file under its size baseline. The independent review at head fbe079c7f1 noted two gaps in the new module, non-blocking for that PR:
fetch_session_messages(request, …) takes an untyped request parameter.
fetch_session_messages has a complete type signature (the request parameter typed as the route passes it).
A test exercises fetch_session_messages directly: messages returned for an existing session, the not-found/error path raises the same HTTP error as before the move, and a pending stall question is attached when one exists.
Source
Non-blocking finding of the independent review on PR #21236. Parent: #21022.
Activity