Skip to content

fix(goals): 只跳转到执行分支明确绑定的会话 - #573

Merged
PeterGuy326 merged 1 commit into
mainfrom
fix/goals-bound-session
Oct 8, 2026
Merged

PeterGuy326 merged 1 commit into
mainfrom
fix/goals-bound-session

Conversation

@Bindy-lbb

Copy link
Copy Markdown
Collaborator

Closes #572

执行分支只有岗位信息、没有绑定会话时,“打开会话”会退回该岗位当前对话,可能展示另一项工作的内容。现在只有同时具备 positionId 和 sessionId 的分支才提供该入口,其他分支继续显示标题、岗位和状态。

这是本地快照 f1cfa23 相对最新 main 剩余的有效行为差异。目标与项目界面已通过 #557 / #569 合入;本 PR 基于当前 main,只补入这一条会话约束,保留后续验收、来源隔离、筛选可访问性和 #571 日期组件改动。

Validation:

  • 修复前,缺失和空 sessionId 的两个真实目标模块回归用例均失败;修复后通过。已有精确岗位/会话跳转测试继续通过。
  • Node 24:目标模块和项目看板测试 52 项通过;渲染层 TypeScript 检查和生产构建通过;git diff --check 通过。
  • Playwright Chromium:真实 GoalsModule 和 shared shell,隔离 fixture IPC,1440×900 明色与 640×900 暗色。验证未绑定分支无跳转入口,已绑定分支调用准确岗位及会话,无空白页、框架错误或横向溢出。
  • Browser 插件不可用,使用已有 Playwright。无应用运行错误;现有 Ant Design Drawer width 弃用提示已记录。截图和临时 QA 文件保留在仓库外。

风险局限于目标分支的会话入口;没有持久化或服务端契约变更。

@PeterGuy326
PeterGuy326 merged commit bb4d11e into main Oct 8, 2026
11 checks passed
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.

fix(goals): 只允许执行分支跳转到明确绑定的会话

2 participants