GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): 修复 PR 检出后草稿未切换工作树 by uiliugang · Pull Request #270 · uiliugang/t3code

Conversation

@uiliugang

@uiliugang uiliugang commented Nov 28, 2026

Copy link
Copy Markdown
Owner

概要

从 PR 详情检出独立工作树时,草稿可能在等待期间自动补入默认基准分支。检出流程此前会把这次自动更新判定为工作区已更改,导致成功结果无法写回草稿。

让待处理的检出接受同一草稿的自动基准分支更新,并继续保护用户主动切换的分支或项目。

测试

  • vp run check:changed 通过,包含自动补分支与手动选择的回归用例。
  • 通过 T3 内置浏览器从 feat(ux): 新增待办收件箱与 Spaces 并美化侧栏 #269 的详情页检出到独立工作树。新草稿先补入 main,随后切到 t3-ux-inbox-spaces-notes 并关联已有工作树,已有草稿的输入内容也已验证保留。
  • 修复前后截图已存到本机。截图上传工具 ghdrop 在当前环境不可用。

由 gpt-6.2-sol 在 T3 Code 的 Codex harness 中完成。

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
liugang59
fix(web): 修复 PR 检出后草稿未切换工作树
a7ff0ec
检出等待期间同步接受自动填入的默认基准分支。手动选择工作区或取消检出时继续保护草稿。
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M labels Nov 28, 2026
@uiliugang
uiliugang merged commit 0453997 into main Nov 28, 2026
32 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@uiliugang
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.