Commit eb5e6fd
Open PRs for partial/blocked tasks so merged PRs close their issues
sync_result only created PRs for status=complete, so blocked/partial
tasks with real commits had no PR. The orphan branch handler later
created one with a generic body missing the issue reference, which
meant _cleanup_merged_pr_issues couldn't find the issue to close.
- Create PRs in sync_result for any status with a commit, not just
complete — the PR body always includes #issue_number
- Orphan branch handler now searches for the linked issue via
_find_issue_for_task and includes it in the PR body as fallback
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fe1d57c commit eb5e6fd
2 files changed
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
| 403 | + | |
403 | 404 | | |
404 | 405 | | |
405 | 406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
200 | 219 | | |
201 | 220 | | |
202 | 221 | | |
| |||
254 | 273 | | |
255 | 274 | | |
256 | 275 | | |
257 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
258 | 282 | | |
259 | 283 | | |
260 | 284 | | |
| |||
0 commit comments