Repository navigation
test(board): 会议监听群、issue 领取群补单人群不带管家的用例 - #2304
Merged
Merged
Conversation
#2291 改成按实际进群的 bot 数和人数判定单人群后,会议监听群(larkAppIds 为空 + 1 个目标用户) 与 issue 领取群(单 bot / 多 bot)被纳入或排除,但这两种入口形状没有用例钉住。补在 group-creator 的管家用例里:会议监听群、单 bot 领取群不带管家,多 bot 领取群照带。 Closes #2303 Co-Authored-By: Claude Opus 5.5 <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
October 25, 2026 02:20
|
🚀 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.
改了什么
#2291 的 follow-up,关闭 #2303:只补测试,不改代码。
#2291 把「单人群不带管家」改成由
createGroupWithBots按实际进群的 bot 数和人数判定后,会议监听群(daemon.ts:larkAppIds: []+ 1 个目标用户)和 issue 领取群(issue-claim-flow+issue-command-deps:creator + 认领 bot(+ 同伴 bot)、领取人、owner union_id)的结果随之变化,但这两种入口形状没有用例钉住。本 PR 在test/group-creator.test.ts的管家用例里补一条,按两处入口的真实调用形状断言:影响面
仅测试文件,无运行时改动。
验证
npx vitest run test/group-creator.test.ts:51 例全过;bun test test/group-creator.test.ts:51 例全过(该文件在 bun 腿里)。soloGroup = false)→ 新用例红;去掉 bot 数条件(只看人数)→ 新用例红(多 bot 领取群被误当单人群)。两处都已还原。🤖 Generated with Claude Code