Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Worktree threads can miss existing pull requests #4106

Closedtonoizer(GitHub profile, opens in a new tab) opened this issue 1 comment

Description

Worktree thread VCS status currently couples pull-request discovery to remote Git refreshes and treats lookup failures or an uninitialized remote snapshot like a confirmed absence. This can leave an externally created pull request undiscovered and expose an unsafe Create PR action.

Expected behavior

  • Poll lightweight PR/MR metadata while a worktree thread is subscribed, even when automatic Git fetch is disabled.
  • Correlate cached remote and pull-request state with the branch for which it was calculated.
  • Represent pending and failed provider lookups explicitly.
  • Refresh local and change-request status after primary agent turns.
  • Only offer PR creation after a successful lookup confirms no open change request.

Scope

This should preserve existing provider filtering, default-branch handling, fork matching, and the server-side existing-PR safeguard.

  1. juliusmarminge added labels🚧 In Progress

  2. juliusmarminge added labelsbug

  3. Fixed by #10101 — ThreadPullRequestReactor discovers and saves branch PR links on the server independently of client-side VCS refresh / automatic Git fetch. Closing as completed. (Open #10081 targeted the older VcsStatusBroadcaster path for the same symptom; treating that as superseded.)

  4. juliusmarminge closed this

Sign in to join this conversation.