Repository navigation
feat(lark): suspend workers when their topic root is recalled - #3503
Draft
HomyeeKing wants to merge 3 commits into
Draft
HomyeeKing wants to merge 3 commits into
HomyeeKing wants to merge 3 commits into
Conversation
Co-authored-by: TRAE CLI <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
HomyeeKing
marked this pull request as ready for review
November 16, 2026 05:46
HomyeeKing
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
November 16, 2026 05:46
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
HomyeeKing
marked this pull request as draft
November 16, 2026 05:57
Co-authored-by: TRAE CLI <[email protected]>
Owner
|
你好,想确认一下这个 draft 的状态:d285219 这一版是否已经做完、准备转 ready? 另外两个问题:一是这版默认开启且没有开关,会改变 master 上「撤回消息不影响会话」的现有行为,这点需要和维护者对齐;二是在 |
3 tasks done
Owner
|
你好,跟进一下 11-19 的确认:这个 Draft PR 已超过一周没有更新且当前与 master 冲突。这个功能本身改动清晰,但目前默认开启会改变现有「撤回消息不影响会话」的行为,且 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recalling or deleting a topic root can leave its worker consuming memory. This makes a delivered root-withdrawal event suspend this bot's exact bound worker by default: current execution is terminated, while the logical session, topic binding, saved context and working directory remain available for cold resume.
There is no new configuration switch, configuration page, startup scan or periodic polling. The next valid task uses the existing cold-resume path. Explicit
/closeretains its existing session-close meaning.im.message.recalled_v1dispatches lifecycle work after ACK, independently of group-context recording, and deduplicates event delivery.Dashboard feedback
The configuration UI was removed because this is now default lifecycle behavior. This screenshot shows the actual
SessionsTableBasecomponent with synthetic session rows, including the new “已挂起 · 话题已删除或撤回” state. It is browser-rendering evidence, not a live Feishu integration test.Validation: seven related suites pass with 914 tests, including 11 topic-specific suspension cases and suspension during idle/working/analyzing. Full
bun run buildand its type/asset audits pass; the final Dashboard label was rebuilt and browser-checked for visible suspension reason, unaffected peer row, no horizontal overflow and no browser errors.git diff --checkpasses.Limits: the native Lark “Close current topic” action still lacks a confirmed subscribable event in the inspected public topic documentation and SDK, so that integration is not claimed as complete. This entry point currently uses supported local tmux/herdr/zellij/zmx suspension; PTY, remote backends and durable primary retain existing refusal/fencing behavior. Live Feishu end-to-end delivery has not been verified.