fix(feishu): preserve process-card chunks and legacy settings - #181
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.
已有过程卡在收尾溢出时会将首块覆盖为末块,导致长答案缺失。本次沿用运行中分卡方式,顺序创建剩余卡片并更新当前消息 ID;末块直接带终态,发送失败继续使用已有 post 降级。
旧配置缺少模式时恢复为 post,保留明确模式和关闭状态;扫码及手动凭据新接入均显式采用过程卡默认值。
验证:
npm run check的 2,571 项测试、构建和包校验通过。/stop后卡片变为“已停止”,随后新消息正常回复。测试机器人已恢复原先的逐步直播模式。