Commit 7c4ed89
fix(linear): don't treat a linked github issue as a PR
`findLinkedGitHubPr` accepted any attachment with `sourceType: "github"` as a
PR. Linear's "GitHub Issues" sync tags the source issue with that same
sourceType (URL `.../issues/N`, no branch metadata), so the oneshot seed
classified it as a linked PR, set `source: "github-integration"`, and fell
back to `issue.branchName` in `mode: "existing"`. That branch was never
created, so `createWorktree` threw `Branch not found` and every GIT-team
oneshot was dropped.
Only trust the explicit PR source types; for the generic `github` type require
a `/pull/` URL. GitHub-issue attachments now fall through to `source: "none"`
→ `mode: "new"`, so webmux creates the branch fresh like any other issue.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 632caae commit 7c4ed89
2 files changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
464 | 479 | | |
465 | 480 | | |
466 | 481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | | - | |
| 845 | + | |
846 | 846 | | |
847 | 847 | | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
848 | 852 | | |
849 | 853 | | |
850 | 854 | | |
| |||
0 commit comments