Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions internal/app/backend/backend_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,7 @@ func doAssignTickets(ctx context.Context, req *pb.AssignTicketsRequest, store st
}

if err = store.DeleteTicketsFromPendingRelease(ctx, ids); err != nil {
logger.WithFields(logrus.Fields{
"ticket_ids": ids,
}).Error(err)
logger.WithError(err).WithField("ticket_ids", ids).Error("failed to delete tickets from pending release after updating assignment")
}

return resp, nil
Expand Down
4 changes: 4 additions & 0 deletions internal/app/frontend/frontend_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@ func (s *frontendService) AcknowledgeBackfill(ctx context.Context, req *pb.Ackno
}
}

if err = s.store.DeleteTicketsFromPendingRelease(ctx, associatedTickets); err != nil {
logger.WithError(err).WithField("ticket_ids", associatedTickets).Error("failed to delete tickets from pending release after updating assignment during backfill ack")
}

// Remove all tickets associated with backfill, because unassigned tickets are not found only
err = s.store.UpdateBackfill(ctx, bf, []string{})
if err != nil {
Expand Down