Skip to content

fix(ci): 席位超时的失败通知不再刷屏列出未运行用例 - #2595

Merged
deepcoldy merged 1 commit into
masterfrom
ci/midscene-notify-queue-timeout
Oct 30, 2026
Merged

deepcoldy merged 1 commit into
masterfrom
ci/midscene-notify-queue-timeout

Conversation

@deepcoldy

Copy link
Copy Markdown
Owner

改了什么

scripts/midscene-notify-failure.mjs:如果失败原因只是「等待飞书 live 席位超时」,评论里不再逐条列出全部 28 个「not-run」飞书用例,并在原因后注明:这是席位排队问题,不是本次合入的回归;需要结果时在 master 上手动 dispatch。

为什么

#2527 合入后,第一次 master 运行 40999175573 排在几个旧 PR 运行后面,等满了 290 分钟,于是按设计走了失败通知,评论发到了 #2527(这条评论同时证明了 push 触发、notify job 权限、@ 作者和去重标记都正常)。但评论正文是 20 行 not-run,外加「另有 8 个用例未列出」。用例根本没跑,这些行没有信息量,还会让作者以为是自己的改动出了问题。

真正失败、或在跑的过程中被中断的用例照旧列出:只有席位等待失败、飞书 job 根本没起来时,才省略 not-run。

影响面

只动通知脚本,不动 src/、不动 workflow。

验证

  • bunx vitest run test/midscene-notify-failure.test.ts test/midscene-e2e-workflow.test.ts:17 个用例通过。新增断言:飞书没跑时只列 failed、不列 not-run。
  • 变异:去掉 feishuRan 判断后新断言变红。

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown

@deepcoldy 合入 master 后的 Midscene E2E 失败:Feishu live Midscene 失败。

这次运行覆盖 89a9cea…22d1c8d0b(20 个提交),同批合入的还有 #2546 #2556 #2589 #2591 #2545 #2538 #2596 #2597 #2581 #2539 #2598 #2515 #2536 #2575 #2366 #2606 #2544 #2593 #2603,失败不一定由本 PR 引起。

用例 跑道 状态 失败信息
Kimi basic bot flow feishu-core-clis failed waitFor timeout: Based on the screenshot, the middle column displays a welcome message "欢迎加入群组" (Welcome to the group) and system notifications about group creation and settings, rather than a list o…
Gemini basic bot flow feishu-core-clis failed waitFor timeout: Based on the screenshot, the main content area displays a topic conversation. I can see messages from "Gemini".
Codex DM chat mode replies inline and keeps one session feishu-core-dm-modes-codex failed Feishu Messenger chat list did not load after 4 attempts (URL: https://acn2e4mfbjx2.feishu.cn/next/messenger/, title: 消息 - 飞书). A login redirect means the saved storage state expired; a skeleton list…

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

🚀 Released in v3.56.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant