update QoL and ai integration

This commit is contained in:
2026-07-29 14:16:14 +02:00
parent 1d90e364ee
commit 027057e85f
14 changed files with 1893 additions and 84 deletions

View File

@@ -118,6 +118,9 @@ func (s *aiStoredState) Merge(pr PRDetails) PRDetails {
}
}
result.Threads[i].Comments = append(result.Threads[i].Comments, comments...)
slices.SortStableFunc(result.Threads[i].Comments, func(left, right ReviewComment) int {
return left.CreatedAt.Compare(right.CreatedAt)
})
}
}
return result