ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Observability: Improve status codes consistency

オープン
#834 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@vprashrex がすでに取り組んでいます。

2026年5月14日 から。

  • #1090 @vprashrex による — オープン
主要言語
Python
スター
18
フォーク
10
平均マージ
2日 20時間
マージ済み PR(30日)
14

説明

Is your feature request related to a problem?
We need to improve observability in our application. There are inconsistencies in the status codes and error messages returned, which can lead to confusion and misinterpretation of application state.

Describe the solution you'd like

  • Have Claude perform a sanity check on logs, status codes, and error messages.
  • Fix status code inconsistencies in high usage endpoints like LLM call, Collection, Documents, LLM Chain and Evals. Inconsistency like below:
    • Change status code to 404 in app/crud/evaluations/batch.py:47 when success is false.
    • Change status code to 502 in backend/app/crud/assistants.py:68 for invalid responses from upstream servers.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。