fix(inbound): keep polling while turns are active - #5
Merged
Merged
Conversation
Keep the long-poll loop moving while OpenClaw processes an active turn. Serialize ordinary ingress until core admission, give plugin approvals an independent lane, and preserve quoted command and queued-followup lifecycles. Refs #201 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Upstream source
Exact mirror of Tencent/openclaw-weixin#228 by @NewFuture.
NewFuture/openclaw-weixin:fix/inbound-pollingcef0bfc390393f716903e16d50408118047f87e00e3e5868d8a2b2856d5b58cf5be8dc114a4d7cec4feec89ff2b40c93578a96f6325bdd536ad9d38eUpstream intent
Keep long polling active while OpenClaw processes an active turn, preserve ordinary-message ordering until Core admission, and give
/approve plugin:an independent admission lane.Local review status
This mirror is intentionally a Draft. The exact upstream head merges cleanly into the current target, and focused tests, typecheck, and build passed during review, but the following issues remain unresolved:
Related upstream #187 is tracked separately as
todo-rebase; it is not included in this mirror. Original discussion and review history remain on the upstream PR.