Skip to content

补充浏览器失败诊断与可下载证据 - #261

Merged
zj1123581321 merged 5 commits into
mainfrom
feat/vta-261017-browser-artifacts
Oct 17, 2026
Merged

zj1123581321 merged 5 commits into
mainfrom
feat/vta-261017-browser-artifacts

Conversation

@zj1123581321

@zj1123581321 zj1123581321 commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

浏览器回归会把 console error 与来源 URL、page error、request failed 及 HTTP 4xx/5xx 写入失败诊断。Playwright 失败时保留 trace 和截图,并由 Browser regression workflow 上传 Playwright outputDir,artifact 保留 7 天。

本次证据策略覆盖 Chromium step 正常结束为失败的普通断言失败和 Playwright 用例超时。末尾 console/network 汇总只在业务断言通过后运行;若较早断言失败,先看原断言消息与 trace。job 超时、手动取消或 runner 终止不承诺上传 artifact。

真实 workflow_dispatch 探针 run 39003528268 以预期的合成 404 失败结束;artifact playwright-test-results(ID 12090260702)已从 GitHub 下载。Trace Viewer 实际显示失败测试动作,以及 http://127.0.0.1:41277/__e2e__/diagnostic-404.png 的 GET 404。

独立审查提出的两条 P2 事实接受不修、不阻断:早期业务断言失败时末尾汇总不会运行,但有原断言消息和 Playwright trace;job 超时或取消不属于本次失败步骤 artifact 承诺。私有 PWRS 不接入本开源仓,亦不要求 PWRS_REPORTER_TOKEN;真实 Chromium 回归继续阻断。

验证:npm run test:web 187 passed,npm run test:browser 19 passed,make test 通过;本次 CI 404 探针的 artifact/trace 下载查看已实证。

Fixes #259

Agent-Executor: codex-lead
Agent-Session: 01a14819-2000-71d0-97e3-6441cbd8ac57
Agent-Executor: codex-lead
Agent-Session: 01a14819-2000-71d0-97e3-6441cbd8ac57
@zj1123581321 zj1123581321 self-assigned this Oct 17, 2026
zj1123581321 and others added 3 commits October 17, 2026 12:52
Agent-Executor: codex
Agent-Model: gpt-6-luna
Agent-Effort: xhigh
Dispatch-Id: dlg-20261017-043751-9fdbf6
Task-Id: VideoTranscriptAPI-20261017-01
Agent-Executor: codex
Agent-Model: gpt-6-luna
Agent-Effort: xhigh
Dispatch-Id: dlg-20261017-043751-9fdbf6
Task-Id: VideoTranscriptAPI-20261017-01
Agent-Executor: codex-lead
Agent-Session: 01a14819-2000-71d0-97e3-6441cbd8ac57
@zj1123581321
zj1123581321 marked this pull request as ready for review October 17, 2026 04:55
@github-actions

Copy link
Copy Markdown

Required Gate v2 — 状态面板

当前状态:pass · 可合并

当前裁决:code_pass / primary_pass

PR 累计主审轮(影子):1/5 · collecting

历史可能不完整:1 个历史重建预算耗尽

Gate 历史(v1;来源为持久化 gate_terminal 制品)

Run Attempt Head 状态 PR 累计主审轮(影子) 收件人动作
39002966380 1 cf50012 skipped — 无需动作(主审未跑,绿≠过审)
39004350368 1 dd76e22 fail — 要修代码
39004387708 1 dd76e22 pass 1/5 · collecting 可合并

历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。

@zj1123581321
zj1123581321 merged commit 181aec3 into main Oct 17, 2026
24 of 26 checks passed
@zj1123581321
zj1123581321 deleted the feat/vta-261017-browser-artifacts branch October 17, 2026 05:08
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.

Browser regression 失败时不上传 Playwright 制品,CI 独有的 404 无法定位

1 participant