test(planning): make the surface ui_journey checks wait for the state they assert
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with plugins/planning/surface/surface.test.sh and inspect the failing ui_journey.2 and ui_journey.13 checks to see what state each asserts and what it currently waits for. Replace timing-dependent waits with waits tied to the asserted state, then run the script 20 consecutive times under load; done means all 20 runs pass.
由索引模型根据 Issue 内容生成。
描述
Problem
plugins/planning/surface/surface.test.sh fails sometimes with no change to the files it covers. While verifying #7009, three runs on the same head gave three different results:
- run 1: exit 1, failing
ui_journey.2("Answer again moves focus to the first choice"); - run 2: exit 1, failing
ui_journey.2andui_journey.13; - run 3: exit 0 (PASS=480).
No file under plugins/planning/surface changed between the runs, and the failing checks differ from run to run. That points to a browser timing race in the UI journey checks: a focus assertion running before the page has settled.
Fix
Find what each failing check waits on and make it wait for the state it asserts. For example, wait for the focused element or a settled-render signal instead of a fixed delay, so the result does not depend on machine load.
Done when
surface.test.shpasses 20 consecutive runs on a loaded machine (for example, while another test suite runs in parallel).
Refs: #7009
- 主要语言
- Shell
- 星标
- 22
- 派生
- 2
- 平均合并
- 8 小时 27 分钟
- 30 天内合并 PR
- 957
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
melodic-software/claude-code-plugins 的其他 Issue
-
priority: medium
难度 2/5 1-3 小时 新手友好度 68/100
melodic-software/claude-code-plugins#7351 · 2 条评论 ·
维护者通常 1 天内回复
-
agent-ready priority: high work-class: scoped
难度 2/5 1-3 小时 新手友好度 74/100
melodic-software/claude-code-plugins#7312 · 3 条评论 ·
维护者通常 1 天内回复
-
priority: medium
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#7288 · 2 条评论 ·
维护者通常 1 天内回复
-
knowledge: docpage-digest dual verification defines no verdict vocabulary or pass/fail threshold未关闭needs-human
难度 2/5 1-3 小时 新手友好度 78/100
melodic-software/claude-code-plugins#7286 · 2 条评论 ·
维护者通常 1 天内回复
-
priority: low
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#7282 · 2 条评论 ·
维护者通常 1 天内回复
查看 melodic-software/claude-code-plugins 的全部 Issue
相似的 Issue
-
Sourced-library load-guards use a top-level `return` that errors on direct execution (repo-wide)未关闭
难度 2/5 1-3 小时 新手友好度 62/100
rossoctl/automation#115 ·
维护者通常 3 天内回复
-
loongarch64: `unsupported linker arg: --no-rosegment` with rustc 1.100可能已有人在做 @monosans 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
rust-cross/cargo-zigbuild#503 ·
维护者通常 1 天内回复
-
netbox status: backlog topic: testing type: housekeeping
难度 2/5 1-3 小时 新手友好度 70/100
netbox-community/netbox#23395 ·
维护者通常 1 天内回复
-
test/command failure with filtered `listxattr` syscall可能已有人在做 @Kiskae 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复