Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: issue UID (#11548)

p0ny4845823e5b32
diff --git a/backend/api/v1/rollout_service.go b/backend/api/v1/rollout_service.go
index 77843b0816..9f46af3882 100644
--- a/backend/api/v1/rollout_service.go
+++ b/backend/api/v1/rollout_service.go
@@ -1254,6 +1254,7 @@ func (s *RolloutService) UpdatePlan(ctx context.Context, request *v1pb.UpdatePla
oldSheet := common.FormatSheet(issue.Project.ResourceID, statementUpdate.OldSheetID)
newSheet := common.FormatSheet(issue.Project.ResourceID, statementUpdate.NewSheetID)
return s.store.CreateIssueComment(ctx, &store.IssueCommentMessage{
+ IssueUID: issue.UID,
Payload: &storepb.IssueCommentPayload{
Event: &storepb.IssueCommentPayload_TaskUpdate_{
TaskUpdate: &storepb.IssueCommentPayload_TaskUpdate{
@@ -1293,6 +1294,7 @@ func (s *RolloutService) UpdatePlan(ctx context.Context, request *v1pb.UpdatePla
if err := func() error {
return s.store.CreateIssueComment(ctx, &store.IssueCommentMessage{
+ IssueUID: issue.UID,
Payload: &storepb.IssueCommentPayload{
Event: &storepb.IssueCommentPayload_TaskUpdate_{
TaskUpdate: &storepb.IssueCommentPayload_TaskUpdate{