Repository navigation
Commit 60d7238
fix(server): clear the derived branch PR when a thread's branch changes
A thread.metadata.update that moved a thread to a new branch kept the
previous branch's auto-discovered PR, so the thread paired the new branch
with the old PR until discovery succeeded again. Clear branchPullRequest
in the same event when the branch actually changes; explicit PR links are
untouched.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 5ef8249 commit 60d7238
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4077 | 4077 | | |
4078 | 4078 | | |
4079 | 4079 | | |
4080 | | - | |
| 4080 | + | |
| 4081 | + | |
| 4082 | + | |
4081 | 4083 | | |
4082 | 4084 | | |
4083 | 4085 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2934 | 2934 | | |
2935 | 2935 | | |
2936 | 2936 | | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
| 2947 | + | |
| 2948 | + | |
2937 | 2949 | | |
2938 | 2950 | | |
2939 | 2951 | | |
| |||
0 commit comments