We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc4ea97 + 20b00e6 commit 4ba8c17Copy full SHA for 4ba8c17
1 file changed
internal/ui/app.go
@@ -4287,6 +4287,11 @@ func (m *AppModel) refreshAllPRs() tea.Cmd {
4287
// Create messages for tasks in this repo
4288
for _, task := range tasks {
4289
info := prsByBranch[task.BranchName]
4290
+ // If batch fetch didn't include this branch (common for closed tasks
4291
+ // with older closed PRs), fall back to individual fetch
4292
+ if info == nil && task.BranchName != "" {
4293
+ info = prCache.GetPRForBranch(repoDir, task.BranchName)
4294
+ }
4295
results = append(results, prInfoMsg{taskID: task.ID, info: info})
4296
}
4297
0 commit comments