Repository navigation
test: 补充鹈鹕手动测试隔离 E2E 并延迟加载支付 SDK - #809
Merged
Merged
Conversation
ranxi2001
marked this pull request as ready for review
November 12, 2026 11:48
Owner
Author
|
维护接管对账:已核实本 PR 由另一执行者追加至 Agent:Hermes Agent,gpt-6.1-sol,推理强度未知(环境未公开)。本轮仅状态核对与协调;未生产写入、付费请求、发版或部署。 |
This was referenced Nov 12, 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.
解决的问题与行为变化
#795 的组件测试没有覆盖真实登录、应用页面、handler/service、假提供商和历史展示之间的完整调用链。本 PR 增加隔离应用 E2E:手动随机题同轮 A/B 各两样本、题面/API/上游 payload 对账、刷新后的 localStorage 历史与 iframe,以及真实表单创建禁用分组计划后的 API/PG 对账。
运行中发现 Airwallex SDK 被分到公共 vendor-misc,普通账号页也会请求外部支付脚本;现改为独立 vendor-airwallex,继续由原支付页动态 import。fixture 以 runner UID/GID 写入证据,并通过真实 UI 完成首次引导退出与管理员确认;确认前的初始化错误单独保留,刷新后严格检查测试场景的页面/网络错误。
完整 #795 验收仍未完成:账号/分组定时 RunDue、定时结果 PG/API/DOM 对账、计划编辑后的旧快照、第二 nominal round、失败持久化/lease 释放及题目难度校准仍待补。产物固定声明
full_acceptance_complete: false。关联记录与来源
production;head:test/issue795-isolated-e2e-20261112。初始生产基线3e07fa89096cb58b260c032aa6de2cb2a2aa98b7。328a0ed68f2b0bcf54fc41e3919d850ce1d5121d保留,后续追加修复;没有引入外部仓库提交。管理员新功能提示
提示 ID 与登记项:不适用;未新增管理员功能。
所有
NewFeatureBadge展示位置:不适用;测试与分包修复不增加入口。关闭行为:不适用;不修改公告状态。
ID 沿用 / 重新公告说明:不适用;不重置已有提示。
同一 PR 的必要回归证据:不适用;无公告行为变化。
A→B 新 ID 可见:不适用,无新提示。
点击任一入口同步隐藏:不适用,无提示改动。
刷新/重新登录保持隐藏:不适用,无提示状态改动。
后续 C 显示、普通升级不复活:不适用,无提示 ID 改动。
复现与验收
真实应用按当前 PR head 构建,保留嵌入前端及真实迁移。PG/Redis、浏览器、假提供商和应用均只连接 Docker internal 网络;依赖/镜像在隔离前准备,不发布端口、不挂载 Docker socket。仅 seed 虚构账号和分组,不插入题目、计划或结果。
协议补充:fixture 使用 anthropic/apikey、
claude-opus-5-5、HTTPS/v1/messagesSSE;仅接收虚构输入,TLS 使用 fixture CA。真实 handler/service 未替换。当前仅覆盖正常手动完成;失败、取消、定时租约释放和重放语义仍以既有分段回归为边界,未声称本 E2E 已覆盖。实际验证
/home/ranxi/projects/sub2api-pr809-fix-20261112:git diff --check02fdcf636f0f8cbabb851f335cc65cd16b44a712的 隔离应用与组件 CInode /opt/fixture/pelican-question-e2e.mjs browser;原组件断言与截图保留在同一工作流隔离场景 JSON 与实际页面截图、组件截图 已下载并回读。
本次 artifact 回读确认 6 个已实现阶段通过;APP/HARNESS 均为当前 head,五个运行服务均只在 internal 网络中。测试阶段无外部请求、传输失败、页面或控制台错误,本次没有触发菜单重新打开。bootstrap 阶段仍保留真实中间件拒绝时的错误记录。
账号菜单先完成滚动再点击;仅在菜单消失且测试弹窗尚未打开时至多重新打开两次,次数写入证据,模型提交不重试。
历史失败:初始运行无法写入证据目录;修复后暴露首次登录遮挡和公共包提前加载支付脚本;随后确认管理员确认前的页面读取被真实中间件拒绝。原始 artifact 与场景失败记录已回读,对应修复均追加在本 PR。
兼容性与运行影响
文档与用户可见变化
fixture README、acceptance.json 和 CI summary 保留完整验收缺口。截图来自实际嵌入前端与虚构数据,随 CI artifact 提供;未新增页面布局或组件。合并不表示发布或部署。
Agent 使用声明
gpt-6.1-sol/ultra,Hermes 为gpt-6.1-sol/ 推理强度未知;本轮保留该历史披露,没有重新核验其会话元数据。提交前自查