Auto-generated session titles no longer include the PR number when prompting to review a PR
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github
- 领域
- desktop
调研方向
Start by reproducing the issue in the macOS desktop app with prompts such as "Review PR 1234," comparing title generation in v1.1.21 with v1.1.20 if available. Trace the session-title generation entry point and its handling of pull-request numbers. Done means prompts naming a PR produce distinct titles that include its number, with a regression test covering the behavior.
由索引模型根据 Issue 内容生成。
描述
Short summary
Session titles for PR review prompts dropped the PR number starting in v1.1.21.
Affected version or release
v1.1.21 (macOS). Worked in v1.1.20 or earlier. Not yet tested on v1.1.23.
Installation context
macOS desktop app, project sessions on GitHub repositories.
What happened?
When I start a session by prompting it to review a specific PR, the generated title is now generic and has no PR number. Every PR review session I started after updating to v1.1.21 got the same title. That makes them impossible to tell apart in the sidebar without renaming each one by hand.
Before the update, the same kind of prompt reliably produced titles like "PR 792 review" or "Review PR 799".
Steps to reproduce
- Start a new session in a project.
- Prompt it to review a PR by number, for example "Review PR 1234".
- Wait for the session title to be generated.
- Observe that the title is generic, with no PR number.
Expected behavior
The generated title includes the PR number when the prompt names one, as it did before v1.1.21.
Additional context
- The changelog doesn't list any change to title generation between v1.1.20 and v1.1.21.
- The v1.1.18 entry "pull request numbers no longer appear inline in sidebar rows" seems unrelated. It covers the badge on sessions linked to a PR, and these sessions aren't linked to one. The number used to be part of the generated title itself.
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 157
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/app 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 70/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 78/100
BoxPistols/BoostRecord#199 ·
-
accepted bug via-triage
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 84/100
NanmiCoder/cc-haha#1377 ·