GitLab Duo commented on merge request !5 at Bluefly.io / OssA / Lab / GITLAB OpenStandardAgent

GitLab Duo
2026-03-28T10:52:44Z

The WaitForConsensus call uses correlationID as the post ID, but correlationID is likely a different identifier than the actual social media post ID returned from PostFixProposal. This will cause the consensus waiting to fail.

// TODO: Store the actual post ID from PostFixProposal and use it here
// For now, skip consensus waiting if we don't have the post ID
log.Printf("[Worker %s] [%s] Cannot wait for consensus: post ID not available", w.workerID, correlationID)
voteResult = &SocialVoteResult{Consensus: "timeout"}
waitErr = nil