Repository navigation
docs(test): 记录 gemini-cli pin bump 前需复验 GITHUB_SHA 空串绕过脱敏 - #2591
Merged
Merged
Conversation
#2579 的修复经 #2563 等价带入 master;唯一后续项(上游若把真值判定改成键 存在判定,空串失效会让 core-clis Gemini 用例变红)转入本待办清单, 触发条件写成升级 gemini-cli pin 时必读,而非留在已关闭 PR 的评论里。 Co-Authored-By: Claude Code <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
October 30, 2026 09:10
复审指出 scripts/run-e2e.ts 是带顶层副作用的脚本,直接 import 会真跑整套 Midscene 跑道、改 MIDSCENE_RUN_DIR 并扫调定时任务;把根治方式改为先把 mockCliEnv 抽到无副作用的独立模块再单测。复验触发点补上 grep 判定形态 的具体命令。 Co-Authored-By: Claude Code <[email protected]>
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 #2545 #2538 #2595 #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.
改动
在
docs/plans/2026-10-20-test-seam-backlog.md末尾新增「非 seam 类、动到对应文件时顺手做」一节,记录一条后续事项:scripts/run-e2e.ts的mockCliEnv('gemini')用GITHUB_SHA: ''关闭 gemini-cli shell 工具的严格环境脱敏,依赖上游真值判定!!processEnv.GITHUB_SHA(0.65.0)。若上游改为键存在判定,空串失效,core-clis 的 Gemini 用例会变红(无 ACK 气泡)。升级 gemini-cli 版本钉时需先复验,并顺手把 master 上模糊的「GITHUB_SHA set」注释改清楚。mockCliEnv当前是模块内私有函数,export 后可加「gemini 返回恰好这 5 个键」的单测,比注释更抗腐烂。背景
#2579(修复 Gemini 跑道环境脱敏)的功能性改动已由 #2563 等价带入 master(48967156d,返回对象 5 键逐字相同),#2579 因此关闭。评审约定唯一后续项不留在已关闭 PR 的评论里(会沉底、没人翻),而放进这份「动到对应代码时顺手补」的清单——它的触发条件正是「有人升级 gemini-cli pin」。
纯文档,4 行,不改任何代码。
🤖 Generated with Claude Code