Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

AgentKit shutdown bypasses FeishuChannelExtension in-flight message draining

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
backend

調査の方向性

create_agentkit_app(root_agent, enable_feishu=True) から始め、Feishu SDK Channel を直接呼び出す AgentKit のバックグラウンドスレッドと再接続ループを追跡します。その経路を FeishuChannelExtension.start() および shutdown() と比較します。完了条件は、アプリケーションのシャットダウンが extension のライフサイクルを呼び出し、処理中のメッセージをドレインし、想定されるシャットダウンログを出力して、最後の Feishu 返信を配信することです。

索引モデルが issue の本文から書いたものです。

説明

Description

AgentKit applications created with:

create_agentkit_app(root_agent, enable_feishu=True)

do not actually use the lifecycle implemented by FeishuChannelExtension. AgentKit currently maintains a separate background thread and reconnect loop that calls the underlying Feishu SDK Channel's start() and stop() methods directly.

As a result, FeishuChannelExtension.start() and FeishuChannelExtension.shutdown() are bypassed. During application shutdown, in-flight Feishu messages are not drained before the process exits.

Current Behaviour:
Image

The following expected logs are absent:

GRACEFUL_TEST_TOOL_COMPLETED
Shutting down Feishu channel: closing WebSocket and draining 1 in-flight message(s)...
Feishu channel drained; shutdown complete.

And the user will not receive the final Feishu reply.

主要言語
Python
スター
344
フォーク
98
平均マージ
8時間 17分
マージ済み PR(30日)
152

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

volcengine/veadk-python のほかの issue

volcengine/veadk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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