Repository navigation
fix(dashboard): 保留 lark-cli 应用绑定关闭状态的刷新回显 - #2248
Merged
deepcoldy merged 1 commit intoOct 24, 2026
Merged
Conversation
wzomg
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
October 24, 2026 01:26
Owner
|
已合并,感谢修复! 回归链路核实无误:GET 一个非阻断的相邻边角,我们会在后续 PR 补上:当某 bot 的 daemon 离线时,Dashboard 的离线恢复行( |
This was referenced Oct 24, 2026
|
🚀 Released in v3.51.0 |
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.
在 Bot 设置中关闭「固定绑定当前机器人应用」后,保存成功,但刷新页面又显示开启。配置中的
false已保存;GET/api/bot-default-oncall漏返回larkToolBinding,Dashboard 聚合时将缺失值按默认开启处理。在 GET 回包中补上当前有效值,保留未配置时默认开启的语义。新增 HTTP 回归测试覆盖初始未配置、开启和关闭;每次保存后验证磁盘配置、registry、GET 回读及 Dashboard 聚合结果。影响范围限于配置读取接口及测试,CLI 授权和会话启动行为保持原样。
验证:
bun run test -- test/dashboard-ipc.test.ts test/dashboard-bot-payload.test.ts -t 'lark-cli binding setting survives dashboard refresh|trigger-user-auth|dashboard bot payload helpers':47 项通过,343 项未选择。bun run build通过(Bun 1.4.3,冻结锁文件依赖;包含类型检查、Dashboard 构建及资源审计)。