R90 A1-A2 刷新试运行事实源

这个提交包含在:
2026-05-05 20:12:58 +08:00
父节点 99ad4c6aa6
当前提交 85f2875990
共修改 8 个文件,包含 45 行新增和 18 行删除
+4 -4
查看文件
@@ -56,9 +56,9 @@ Codex 可代做:
最小人工操作清单:
1. 企微后台配置:
- 工作台入口 URL:`https://oa.hyinda.com/api/auth/wecom/login?returnTo=%2Fportal`
- 工作台入口 URL:`https://oa.hyinda.com/api/auth/wecom/login?returnTo=%2Fmobile`
- OAuth 回调 URL:`https://oa.hyinda.com/api/auth/wecom/callback`
2. 提供至少两组公网只读 smoke 账号:
2. 确认至少两组公网只读 smoke 账号可用:
- `smoke-admin`
- `smoke-employee`
3. 若公网运行时 smoke 继续提示公告或搜索缺失,用管理员账号进入“功能开关”页,核对:
@@ -77,7 +77,7 @@ Codex 可代做:
- 数据库 `feature_flags`:`wecom_entry_v1=inherit`
- 自动化核验已完成:
- `GET https://oa.hyinda.com/api/auth/wecom/config` 返回 `status=ready`
- `GET https://oa.hyinda.com/api/auth/wecom/login?returnTo=%2Fportal` 返回 `302`,并跳转到 `open.weixin.qq.com`
- `GET https://oa.hyinda.com/api/auth/wecom/login?returnTo=%2Fmobile` 返回 `302`,并跳转到 `open.weixin.qq.com`
- Playwright 公网登录页快照已确认出现“使用企业微信进入工作台”按钮
- Playwright 点击后,桌面浏览器落到企微提示页“请在企业微信客户端打开链接”,符合预期
- 截图:`output/playwright/2026-05-04-wecom-login-page.png`
@@ -106,7 +106,7 @@ Codex 可代做:
- 当前服务器复核结果:
- `https://oa.hyinda.com/ready`:正常
- `https://oa.hyinda.com/api/auth/wecom/config`:`status=ready`
- `https://oa.hyinda.com/api/auth/wecom/login?returnTo=%2Fportal`:仍返回 `302` 到企微 OAuth
- `https://oa.hyinda.com/api/auth/wecom/login?returnTo=%2Fmobile`:返回 `302` 到企微 OAuth
你现在需要做的人工操作:
+18
查看文件
@@ -251,3 +251,21 @@ R70 初次试运行暂停项已在 2026-04-28 的 R71 定向修复后关闭。
- 当前结论:
- 本地自动化已覆盖登录极简、企微移动入口、移动底部导航、移动审批、票据上传、“我的/更多”和小屏菜单抽屉。
- 真实公网手机企微仍需人工打开一次,确认企业微信真实容器内的 OAuth、cookie 与默认 `/mobile` 落点。
## R90/R91 事实源与公网入口收口启动
- 时间:`2026-05-05 20:01 CST`
- 本轮执行合同:
- `issues/2026-05-05_20-01-18-r90-r91-trialrun-closeout.csv`
- 已确认的公网只读状态:
- `GET https://oa.hyinda.com/ready`:通过
- `GET https://oa.hyinda.com/api/auth/wecom/config`:`status=ready`、`entryEnabled=true`、`oauthEnabled=true`
- `GET https://oa.hyinda.com/api/auth/wecom/login?returnTo=%2Fmobile`:`HTTP 302` 到企业微信 OAuth,state 中 `returnTo=/mobile`
- 远端 `root` 与 `deploy` 均可 SSH 到 `/opt/hyb-oa-trialrun`;`hyb-oa-trialrun-server` 与 `hyb-oa-trialrun-db` 正常运行
- 本轮调整方向:
- 文档与检查清单统一改为企业微信手机入口默认 `/mobile`
- 服务端企微默认 `defaultReturnTo` 也改为 `/mobile`,避免后台配置或直链未带 `returnTo` 时回到桌面 Portal
- 桌面浏览器和账号密码登录仍由前端运行时显式进入 `/portal`
- 当前仍需收口:
- 部署 R89/R90 最新代码到公网后,再用真实手机企业微信打开一次应用,确认已绑定账号直接进入 `/mobile`
- 用既有测试账号或 smoke 账号跑公网 live smoke,不使用真实业务账号