fix(weixin): clarify login progress and harden iLink polling - #2831
Merged
Conversation
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.
Summary
WeChat phone confirmation can leave the desktop looking frozen while iLink holds a QR status request open. Show scan, confirmation, and bot startup progress with delayed waiting guidance, and harden the login and message transport against the official
@tencent-weixin/openclaw-weixin2.4.8 contract.Type and Areas
Type: Bug fix / UI/UX
Areas: Web UI, remote-connect integration service, Core WeChat bot orchestration.
Motivation / Impact
Verification
cargo test --locked -p openbitfun-services-integrations --no-default-features --features remote-connect --lib remote_connect::bot::weixin::tests::— 20 passed. Loopback fixtures cover QR transitions, verification, refresh, overlapping polls and replay, timeout/cursor behavior, stale tokens, and outbound payload/error handling.cargo test --locked -p openbitfun-core --no-default-features --features remote-connect --lib service::remote_connect::bot::weixin::tests::— 3 passed.NODE_OPTIONS=--no-experimental-webstorage pnpm --dir src/web-ui exec vitest run src/app/components/RemoteConnectDialog/WeixinLoginProgress.test.tsx src/app/components/RemoteConnectDialog/RemotePairingCard.test.tsx src/app/components/RemoteConnectDialog/RemoteConnectDialog.contract.test.ts src/app/components/RemoteConnectDialog/remoteConnectOperationCleanup.test.ts --maxWorkers=50%— 40 passed.pnpm check:web— passed, including type and theme checks.pnpm i18n:audit— passed with no warnings.pnpm motion:audit— reviewed inventory; no new motion debt.pnpm run fmt:rsandgit diff --check— passed.Reviewer Notes
Reference: https://www.npmjs.com/package/@tencent-weixin/openclaw-weixin (2.4.8).
The provider remains platform-neutral. No persisted or public wire fields change. Tests exercise local simulated iLink transport and controller retry behavior; live WeChat, remote workspace, mobile/IM remote control, Peer Device Mode, and Detached Dispatch were not exercised end to end.
Checklist