AgentKit shutdown bypasses FeishuChannelExtension in-flight message draining
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start at create_agentkit_app(root_agent, enable_feishu=True) and trace the AgentKit background thread and reconnect loop that call the Feishu SDK Channel directly. Compare that path with FeishuChannelExtension.start() and shutdown(). Done means application shutdown invokes the extension lifecycle, drains in-flight messages, emits the expected shutdown logs, and delivers the final Feishu reply.
Written by the indexing model from the issue text.
Description
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:
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.
- Dominant language
- Python
- Stars
- 344
- Forks
- 98
- Avg merge
- 8h 17m
- Merged PRs (30d)
- 152
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from volcengine/veadk-python
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
volcengine/veadk-python#1021 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
volcengine/veadk-python#549 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
volcengine/veadk-python#531 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
volcengine/veadk-python#508 · 2 comments ·
All issues in volcengine/veadk-python
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100