Refactor shared tracing queue to isolate tenant routing state

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

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

2026年8月27日 から。

評価

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

説明

project#dify

Problem

The tracing pipeline uses a process-wide queue, while TraceQueueManager is request-scoped and carries app_id, user_id, provider, and Flask lifecycle state. The fix merged in #41403 preserves the originating app_id on each task, but the underlying design still couples a global work stream to stateful manager/timer instances.

This makes tenant routing correctness depend on mutable task state and leaves timer ownership, queue draining, and failure isolation difficult to reason about.

主要言語
TypeScript
スター
157k
フォーク
24.7k
平均マージ
22時間 32分
マージ済み PR(30日)
611

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

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

はじめの一歩

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

langgenius/dify のほかの issue

langgenius/dify の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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