Repository navigation
feat: support manual PR screenshot tests from BugServer - #4702
Merged
Merged
Conversation
Rui-Sun
enabled auto-merge
October 10, 2026 09:56
skie1997
approved these changes
Oct 10, 2026
skie1997
approved these changes
Oct 10, 2026
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.
BugServer 页面需要按任务固定的 head SHA 手动测试 fork / Draft PR。新增默认分支控制的手动 workflow,复用已有严格产物提取器和 SCM、截图链路;有效 artifact 可复用,失效时在容器内拉取和构建冻结提交。
prepare、submit 仅允许默认分支运行,独立 workflow_run reporter 使用可信控制提交。PR 源码不进入 runner 工作区,构建 job 不申请 GITHUB_TOKEN 权限,容器不接收项目 token、runner/cache token 或 Docker socket,仅导出验证后的 index.js。结果与通知由 BugServer 服务端统一记录。
验证:Node.js 22 下控制脚本 6 项测试、Python 提取器 6 项测试通过,workflow YAML / shell 语法与控制分支、宿主无 PR checkout 的断言通过。按 AGENTS.md 尝试全量视觉测试,临时 checkout 未安装 Rush 依赖(缺少 typescript),256 项均未执行;未宣称视觉通过。新的容器构建配方仍需合入默认分支后真实联调。