Repository navigation
fix(ci): 席位超时的失败通知不再刷屏列出未运行用例 - #2595
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
October 30, 2026 09:35
This was referenced Oct 30, 2026
This was referenced Oct 30, 2026
|
@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 引起。
|
This was referenced Oct 30, 2026
|
🚀 Released in v3.56.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.
改了什么
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